fix state

This commit is contained in:
ammarahm-ed
2020-01-17 16:23:13 +05:00
parent 85d669ac7a
commit a879469ca4
35 changed files with 444 additions and 419 deletions

View File

@@ -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