geolocation direkt von fs

This commit is contained in:
2025-11-11 10:14:58 +01:00
parent bbde08f89a
commit 8e308b0d99
7 changed files with 45 additions and 219 deletions

View File

@@ -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}