mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
Added network page to settings which shows information about the node network and sesh token
11 lines
434 B
TypeScript
11 lines
434 B
TypeScript
import { configureStore } from '@reduxjs/toolkit';
|
|
import themeReducer from './ducks/theme';
|
|
|
|
/** NOTE Dont use this store in a component using the inboxStore since it already has the theme reducer and is persisted */
|
|
export const themeStore = configureStore({
|
|
reducer: { theme: themeReducer },
|
|
});
|
|
|
|
export type ThemeStoreState = ReturnType<typeof themeStore.getState>;
|
|
export type ThemeStoreDispatch = typeof themeStore.dispatch;
|