Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaroni committed Jan 10, 2025
1 parent 12ebd65 commit 6aff7ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/helpers/RainbowContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default function RainbowContextWrapper({ children }: PropsWithChildren) {
)}
{showSwitchModeButton && __DEV__ && (
<DevButton color={colors.dark} onPress={() => setTheme(isDarkMode ? 'light' : 'dark')}>
{/* @ts-expect-error ts-migrate(2741) FIXME: Property 'name' is missing in type... Remove this comment to see the full error message */}
<Emoji>{isDarkMode ? '🌞' : '🌚'}</Emoji>
</DevButton>
)}
Expand Down
9 changes: 2 additions & 7 deletions src/screens/ExternalLinkWarningSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { useTheme } from '@/theme';
import { formatURLForDisplay } from '@/utils';
import { IS_ANDROID } from '@/env';

export const ExternalLinkWarningSheetHeight = 380 + (android ? 20 : 0);
export const ExternalLinkWarningSheetHeight = 380 + (IS_ANDROID ? 20 : 0);

const Container = styled(Centered).attrs({ direction: 'column' })(({ deviceHeight, height }) => ({
...position.coverAsObject,
Expand Down Expand Up @@ -52,12 +52,7 @@ const ExternalLinkWarningSheet = () => {
width: '100%',
}}
>
<Emoji
align="center"
size="h1"
style={{ ...fontWithWidth(fonts.weight.bold) }}
// @ts-expect-error JavaScript component
>
<Emoji align="center" size="h1" style={{ ...fontWithWidth(fonts.weight.bold) }}>
🧭
</Emoji>
<SheetTitle
Expand Down

0 comments on commit 6aff7ab

Please sign in to comment.