mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-27 14:34:40 +00:00
remove warning
This commit is contained in:
@@ -15,9 +15,10 @@ dayjs.extend(relativeTime)
|
|||||||
dayjs.extend(duration)
|
dayjs.extend(duration)
|
||||||
|
|
||||||
const root = document.getElementById("root")
|
const root = document.getElementById("root")
|
||||||
root &&
|
if (!root) throw new Error("root element not found")
|
||||||
ReactDOM.createRoot(root).render(
|
|
||||||
<Provider store={store}>
|
ReactDOM.createRoot(root).render(
|
||||||
<App />
|
<Provider store={store}>
|
||||||
</Provider>
|
<App />
|
||||||
)
|
</Provider>
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user