-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace axios with fetch * Remove bold font from options link in userguide * Use record
- Loading branch information
Showing
8 changed files
with
202 additions
and
283 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import React from 'react'; | ||
import { render } from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
import Options from './Options'; | ||
import './index.css'; | ||
|
||
render(<Options />, window.document.querySelector('#app-container')); | ||
const container = document.getElementById('app-container') as HTMLElement; | ||
const root = createRoot(container); | ||
root.render(<Options />); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import React from 'react'; | ||
import { render } from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
import Popup from './Popup'; | ||
import './index.css'; | ||
|
||
render(<Popup />, window.document.querySelector('#app-container')); | ||
const container = document.getElementById('app-container') as HTMLElement; | ||
const root = createRoot(container); | ||
root.render(<Popup />); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import React from 'react'; | ||
import { render } from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
import Userguide from './Userguide'; | ||
import './index.css'; | ||
import contentScript from '../Content/script'; | ||
|
||
render( | ||
<Userguide />, | ||
window.document.querySelector('#app-container'), | ||
contentScript | ||
); | ||
const container = document.getElementById('app-container') as HTMLElement; | ||
const root = createRoot(container); | ||
root.render(<Userguide />); | ||
requestIdleCallback(contentScript); |