-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
22 lines (18 loc) · 893 Bytes
/
index.tsx
File metadata and controls
22 lines (18 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Moepictures - A cute and moe anime image board ❤ *
* Copyright © 2026 Moebytes <moebytes.com> *
* Licensed under CC BY-NC 4.0. See license.txt for details. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
import {scan} from "react-scan"
import {hydrateRoot} from "react-dom/client"
import {BrowserRouter as Router} from "react-router-dom"
import {Provider} from "react-redux"
import store from "./store"
import App from "./App"
import pace from "pace-js"
pace.start({document: false, eventLag: false, restartOnRequestAfter: false})
if (process.env.SCAN === "yes") {
scan({enabled: true})
}
const rootElement = document.getElementById("root")!
hydrateRoot(rootElement, <Router><Provider store={store} stabilityCheck="never"><App/></Provider></Router>)