-
-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3aa300c
commit f2b21cf
Showing
4 changed files
with
21 additions
and
32 deletions.
There are no files selected for viewing
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,19 +1,14 @@ | ||
import * as React from 'react' | ||
|
||
import * as ReactDOM from 'react-dom' | ||
// core styles shared by all of react-notion-x (required) | ||
import 'react-notion-x/src/styles.css' | ||
|
||
import App from './App' | ||
// used for code syntax highlighting (optional) | ||
// import 'prismjs/themes/prism-tomorrow.css' | ||
// used for rendering equations (optional) | ||
// import 'katex/dist/katex.min.css' | ||
import './index.css' | ||
|
||
ReactDOM.render( | ||
<React.StrictMode> | ||
<App /> | ||
</React.StrictMode>, | ||
document.getElementById('root') | ||
) | ||
import { createRoot } from 'react-dom/client' | ||
|
||
import App from './App' | ||
|
||
const root = createRoot(document.getElementById('root')!) | ||
root.render(<App />) |
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