d6364a9fdd
* Apply new theme * Fix storybook * Fixes * Fix regressions
11 lines
244 B
TypeScript
11 lines
244 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
import { MOBILE_VIEWPORT } from '@/ui/themes/themes';
|
|
|
|
const isMobile = window.innerWidth <= MOBILE_VIEWPORT;
|
|
|
|
export const isNavbarOpenedState = atom({
|
|
key: 'ui/isNavbarOpenedState',
|
|
default: !isMobile,
|
|
});
|