mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
22 lines
495 B
TypeScript
22 lines
495 B
TypeScript
|
import { defaultState } from '@joplin/lib/reducer';
|
||
|
import { AppState } from './types';
|
||
|
|
||
|
|
||
|
export const DEFAULT_ROUTE = {
|
||
|
type: 'NAV_GO',
|
||
|
routeName: 'Notes',
|
||
|
smartFilterId: 'c3176726992c11e9ac940492261af972',
|
||
|
};
|
||
|
|
||
|
const appDefaultState: AppState = {
|
||
|
smartFilterId: undefined,
|
||
|
...defaultState,
|
||
|
route: DEFAULT_ROUTE,
|
||
|
noteSelectionEnabled: false,
|
||
|
noteSideMenuOptions: null,
|
||
|
isOnMobileData: false,
|
||
|
disableSideMenuGestures: false,
|
||
|
showPanelsDialog: false,
|
||
|
};
|
||
|
export default appDefaultState;
|