Skip to content

Commit fc8bfc6

Browse files
committed
Update App.jsx
1 parent 2f897d1 commit fc8bfc6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/App.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ function App() {
9393

9494
return (
9595
<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
96+
<LatLongContext value={contextLatLong}>
97+
<PermissionContext
9898
value={useMemo(() => ({ openStreetMapConsent, setOpenStreetMapConsent }), [openStreetMapConsent])}
9999
>
100100
<RouteContext
@@ -161,8 +161,8 @@ function App() {
161161
</MessageContext>
162162
</main>
163163
</RouteContext>
164-
</PermissionContext.Provider>
165-
</LatLongContext.Provider>
164+
</PermissionContext>
165+
</LatLongContext>
166166
</div>
167167
);
168168
}

0 commit comments

Comments
 (0)