We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f897d1 commit fc8bfc6Copy full SHA for fc8bfc6
1 file changed
src/App.jsx
@@ -93,8 +93,8 @@ function App() {
93
94
return (
95
<div className="App md:max-w-4xl ml-auto mr-auto flex flex-col h-full pt-24 min-h-screen dark:text-white w-screen pl-3 pr-3 pb-3 text-zinc-800 bg-zinc-100 dark:bg-zinc-800 overflow-hidden">
96
- <LatLongContext.Provider value={contextLatLong}>
97
- <PermissionContext.Provider
+ <LatLongContext value={contextLatLong}>
+ <PermissionContext
98
value={useMemo(() => ({ openStreetMapConsent, setOpenStreetMapConsent }), [openStreetMapConsent])}
99
>
100
<RouteContext
@@ -161,8 +161,8 @@ function App() {
161
</MessageContext>
162
</main>
163
</RouteContext>
164
- </PermissionContext.Provider>
165
- </LatLongContext.Provider>
+ </PermissionContext>
+ </LatLongContext>
166
</div>
167
);
168
}
0 commit comments