forked from Archives/Athou_commafeed
replace old client with new client from commafeed-ui repository
This commit is contained in:
18
commafeed-client/src/main.tsx
Normal file
18
commafeed-client/src/main.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import "@fontsource/open-sans"
|
||||
import { store } from "app/store"
|
||||
import dayjs from "dayjs"
|
||||
import relativeTime from "dayjs/plugin/relativeTime"
|
||||
import React from "react"
|
||||
import ReactDOM from "react-dom/client"
|
||||
import { Provider } from "react-redux"
|
||||
import { App } from "./App"
|
||||
|
||||
dayjs.extend(relativeTime)
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
</Provider>
|
||||
</React.StrictMode>
|
||||
)
|
||||
Reference in New Issue
Block a user