-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/index.js | ||
/App.js | ||
/Root.js | ||
/icons.js | ||
/hooks.js | ||
/components/ | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Provider as StoreProvider } from "react-redux"; | ||
import { AppContext } from "./hooks.js"; | ||
|
||
export default function Root({ app, children }) { | ||
return ( | ||
<StoreProvider store={app.store._store}> | ||
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/router
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/map-gl-web
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/map-gl
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/map
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/model
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/react
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/material-web
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/material
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/material-native
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/outbox
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/store
Check failure on line 6 in packages/react/src/Root.js GitHub Actions / @wq/app
|
||
<AppContext.Provider value={{ app }}> | ||
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/router
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/map-gl-web
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/map-gl
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/map
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/model
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/react
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/material-web
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/material
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/material-native
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/outbox
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/store
Check failure on line 7 in packages/react/src/Root.js GitHub Actions / @wq/app
|
||
{children} | ||
</AppContext.Provider> | ||
</StoreProvider> | ||
); | ||
} |