()
| 12 | const ProfilePage = React.lazy(() => import('profile/ProfilePage')); |
| 13 | |
| 14 | function useDrawer() { |
| 15 | const { value, setItem } = useLocalStorageSync('@shared-routing/appdrawer/open'); |
| 16 | |
| 17 | return { |
| 18 | open: value, |
| 19 | closeDrawer() { |
| 20 | setItem(false); |
| 21 | }, |
| 22 | openDrawer() { |
| 23 | setItem(true); |
| 24 | }, |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | export default function Shell() { |
| 29 | const drawer = useDrawer(); |
no test coverage detected