diff --git a/apps/storybook/.storybook/withDeviceFrameOnWeb.tsx b/apps/storybook/.storybook/withDeviceFrameOnWeb.tsx index 319db973..e4b61d1d 100644 --- a/apps/storybook/.storybook/withDeviceFrameOnWeb.tsx +++ b/apps/storybook/.storybook/withDeviceFrameOnWeb.tsx @@ -1,7 +1,7 @@ import type { Decorator } from '@storybook/react' import React from 'react' -import { Platform } from 'react-native' import { DeviceFrameset } from 'react-device-frameset' +import { Platform } from 'react-native' const withDeviceFrameOnWeb: Decorator = (Story, context) => { if (Platform.OS !== 'web' || context.parameters.deviceFrame !== true) return diff --git a/apps/storybook/components/funke/BiometricsModal.stories.tsx b/apps/storybook/components/funke/BiometricsModal.stories.tsx index d8ea36a7..ef316da7 100644 --- a/apps/storybook/components/funke/BiometricsModal.stories.tsx +++ b/apps/storybook/components/funke/BiometricsModal.stories.tsx @@ -1,9 +1,9 @@ import { Button, Heading, Paragraph, Stack, YStack } from '@package/ui' +import { useArgs } from '@storybook/addons' import type { Meta, StoryObj } from '@storybook/react' import React from 'react' -import { Sheet, View, useTheme } from 'tamagui' import { Path, Svg } from 'react-native-svg' -import { useArgs } from '@storybook/addons' +import { Sheet, View, useTheme } from 'tamagui' interface BiometricsModalProps { onAcceptBiometrics: () => void diff --git a/apps/storybook/components/funke/IdCardPinScreen.stories.tsx b/apps/storybook/components/funke/IdCardPinScreen.stories.tsx index f9ca6cb5..b813e7ba 100644 --- a/apps/storybook/components/funke/IdCardPinScreen.stories.tsx +++ b/apps/storybook/components/funke/IdCardPinScreen.stories.tsx @@ -1,7 +1,8 @@ import { + Button, Heading, - HeroIcons, type HeroIcon, + HeroIcons, Image, Page, Paragraph, @@ -9,12 +10,11 @@ import { Stack, XStack, YStack, - Button, } from '@package/ui' import type { Meta, StoryObj } from '@storybook/react' import React, { useRef, useState } from 'react' -import { Input, Circle } from 'tamagui' import { StyleSheet, type TextInput } from 'react-native' +import { Circle, Input } from 'tamagui' import { LinearGradient } from 'tamagui/linear-gradient' import { useArgs } from '@storybook/addons' @@ -140,6 +140,7 @@ const IdCardPinScreen = ({ pinLength, onPinComplete, state, onGoToWallet, userNa {title} {pin.map((digit, index) => ( + // biome-ignore lint/suspicious/noArrayIndexKey: index is the correct key here