mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix state
This commit is contained in:
@@ -21,10 +21,9 @@ import {h} from '../../utils/utils';
|
||||
import {AnimatedSafeAreaView} from '../../views/Home';
|
||||
import {useAppContext} from '../../provider/useAppContext';
|
||||
import FastStorage from 'react-native-fast-storage';
|
||||
import {useTracked} from '../../provider';
|
||||
|
||||
export const Menu = ({close = () => {}, hide, update = () => {}}) => {
|
||||
const [state, dispatch] = useTracked();
|
||||
const {colors} = state;
|
||||
const {colors} = useAppContext();
|
||||
|
||||
// todo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user