feat: add configurable sidebar and top navigation layout modes commit

This commit is contained in:
mengstabketemaw
2026-06-19 16:17:01 +03:00
parent ddd91b6125
commit 1f27a36b90
6 changed files with 196 additions and 67 deletions

View File

@@ -9,6 +9,7 @@ import {
logout,
} from '@ema-platform/auth';
import type { AuthUser } from '@ema-platform/auth';
import { preferencesReducer } from './preferences.slice';
configureAuthStorage('ema-backoffice');
@@ -25,6 +26,7 @@ export const store = configureStore({
reducer: {
auth: authReducer,
signup: signupReducer,
preferences: preferencesReducer,
[baseApi.reducerPath]: baseApi.reducer,
},
preloadedState: preloadedAuth ? { auth: preloadedAuth } : undefined,