Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Workaround for typing issue in #150 (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan authored Jul 2, 2020
1 parent 9aa1d4f commit f50b4fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { ActionSheetProvider } from '@expo/react-native-action-sheet';
import AsyncStorage from '@react-native-community/async-storage';
import { LoadingIndicator } from 'dooboo-ui';
import RootNavigator from './components/navigation/RootStackNavigator';
import { User } from 'types/graphql';
import { initializeEThree } from './utils/virgil';

const meQuery = graphql`
Expand Down Expand Up @@ -63,8 +64,7 @@ function AppWithTheme(): ReactElement {
const initUser = async (me: AppUserQueryResponse['me']): Promise<void> => {
if (!me) return;
await initializeEThree(me.id);
// @ts-ignore ==> TODO
setUser(me);
setUser(me as User);
};

return <RootNavigator />;
Expand Down

0 comments on commit f50b4fb

Please sign in to comment.