about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAna <anastasiyauraleva@gmail.com>2025-07-30 00:40:34 -0700
committerAna <anastasiyauraleva@gmail.com>2025-07-30 00:40:34 -0700
commit315e7341bf99243bb0249567f62ca20d147e7b53 (patch)
tree2ac831e99d414cae19f5a18ad2849570eb0f77e5 /src
parentf8781270e5df1d3730192ac463331845af028b4b (diff)
downloadvoidsky-315e7341bf99243bb0249567f62ca20d147e7b53.tar.zst
update: lint fixes for toast.tsx
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/Toast.tsx19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/view/com/util/Toast.tsx b/src/view/com/util/Toast.tsx
index 6fe04f793..7258eac9d 100644
--- a/src/view/com/util/Toast.tsx
+++ b/src/view/com/util/Toast.tsx
@@ -1,12 +1,3 @@
-import {atoms as a, useTheme} from '#/alf'
-import {Text} from '#/components/Typography'
-import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
-import {
-  type ToastType,
-  getToastTypeStyles,
-  TOAST_ANIMATION_CONFIG,
-  TOAST_TYPE_TO_ICON,
-} from '#/view/com/util/Toast.style'
 import {useEffect, useMemo, useRef, useState} from 'react'
 import {AccessibilityInfo, View} from 'react-native'
 import {
@@ -27,6 +18,16 @@ import Animated, {
 import RootSiblings from 'react-native-root-siblings'
 import {useSafeAreaInsets} from 'react-native-safe-area-context'
 
+import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
+import {
+  getToastTypeStyles,
+  TOAST_ANIMATION_CONFIG,
+  TOAST_TYPE_TO_ICON,
+  type ToastType,
+} from '#/view/com/util/Toast.style'
+import {atoms as a, useTheme} from '#/alf'
+import {Text} from '#/components/Typography'
+
 const TIMEOUT = 2e3
 
 export function show(message: string, type: ToastType = 'default') {