Skip to content

Commit

Permalink
fix: my lint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
KaidonWong committed Apr 21, 2022
1 parent 4cb3c53 commit fe40076
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/kit/src/provider/NavigationProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useMemo } from 'react';
import { DefaultTheme, NavigationContainer } from '@react-navigation/native';
import { createURL } from 'expo-linking';

import { useThemeValue, Box } from '@onekeyhq/components';
import { Box, useThemeValue } from '@onekeyhq/components';
import Toast from '@onekeyhq/components/src/Toast/Custom';
import platformEnv from '@onekeyhq/shared/src/platformEnv';

Expand Down Expand Up @@ -50,7 +50,15 @@ const NavigationApp = () => {
>
<Navigator />
</NavigationContainer>
<Box overflow='hidden' pointerEvents='none' position='absolute' top={0} bottom={0} left={0} right={0}>
<Box
overflow='hidden'
pointerEvents='none'
position='absolute'
top={0}
bottom={0}
left={0}
right={0}
>
<Toast bottomOffset={60} />
</Box>
</>
Expand Down

0 comments on commit fe40076

Please sign in to comment.