geolocation direkt von fs
This commit is contained in:
20
src/App.js
20
src/App.js
@@ -120,9 +120,7 @@ function App() {
|
||||
const {
|
||||
preferences,
|
||||
loading: preferencesLoading,
|
||||
saving: locationSaving,
|
||||
error: preferencesError,
|
||||
updateLocation
|
||||
error: preferencesError
|
||||
} = useUserPreferences({
|
||||
authorizedFetch,
|
||||
sessionToken: session?.token
|
||||
@@ -747,9 +745,7 @@ function App() {
|
||||
onClearFocus={() => setFocusedStoreId(null)}
|
||||
userLocation={userLocationWithLabel}
|
||||
locationLoading={preferencesLoading}
|
||||
locationSaving={locationSaving}
|
||||
locationError={preferencesError}
|
||||
onUpdateLocation={updateLocation}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -782,14 +778,12 @@ function App() {
|
||||
<Route
|
||||
path="/store-watch"
|
||||
element={
|
||||
<StoreWatchPage
|
||||
authorizedFetch={authorizedFetch}
|
||||
knownStores={stores}
|
||||
userLocation={userLocationWithLabel}
|
||||
locationLoading={preferencesLoading}
|
||||
locationSaving={locationSaving}
|
||||
locationError={preferencesError}
|
||||
onRequestLocation={updateLocation}
|
||||
<StoreWatchPage
|
||||
authorizedFetch={authorizedFetch}
|
||||
knownStores={stores}
|
||||
userLocation={userLocationWithLabel}
|
||||
locationLoading={preferencesLoading}
|
||||
locationError={preferencesError}
|
||||
notificationPanelOpen={notificationPanelOpen}
|
||||
onToggleNotificationPanel={() => setNotificationPanelOpen((prev) => !prev)}
|
||||
notificationProps={sharedNotificationProps}
|
||||
|
||||
Reference in New Issue
Block a user