feat(iso): DateRangePicker-Zeitraum bei "Daten laden" anwenden und fix debug für build
This commit is contained in:
@@ -84,10 +84,10 @@ const rootReducer = combineReducers({
|
||||
// ✅ Store erstellen
|
||||
export const store = configureStore({
|
||||
reducer: rootReducer,
|
||||
// (optional) middleware anpassen, z. B. um Warnungen zu ignorieren:
|
||||
// (optional) middleware anpassen, z. B. um Warnungen zu ignorieren:
|
||||
middleware: (getDefaultMiddleware) =>
|
||||
getDefaultMiddleware({
|
||||
serializableCheck: false, // z. B. falls du redux-persist nutzt oder dispatch mit non-serializable Payloads hast
|
||||
serializableCheck: false, // z. B. falls du redux-persist nutzt oder dispatch mit non-serializable Payloads hast
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -96,5 +96,5 @@ export type RootState = ReturnType<typeof store.getState>;
|
||||
export type AppDispatch = typeof store.dispatch;
|
||||
|
||||
// ✅ Hooks für Typsicherheit
|
||||
export const useAppDispatch: () => AppDispatch = useDispatch;
|
||||
export const useAppDispatch = () => useDispatch<AppDispatch>();
|
||||
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
|
||||
|
||||
Reference in New Issue
Block a user