Migrate to a monorepo structure (#2909)
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
import { atom } from 'recoil';
|
||||
|
||||
import { MOBILE_VIEWPORT } from '@/ui/theme/constants/theme';
|
||||
|
||||
const isMobile = window.innerWidth <= MOBILE_VIEWPORT;
|
||||
|
||||
export const isNavigationDrawerOpenState = atom({
|
||||
key: 'isNavigationDrawerOpen',
|
||||
default: !isMobile,
|
||||
});
|
||||
@ -0,0 +1,6 @@
|
||||
import { atom } from 'recoil';
|
||||
|
||||
export const navigationMemorizedUrlState = atom<string>({
|
||||
key: 'navigationMemorizedUrlState',
|
||||
default: '/',
|
||||
});
|
||||
Reference in New Issue
Block a user