about summary refs log tree commit diff
path: root/__mocks__
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-14 01:12:31 +0300
committerGitHub <noreply@github.com>2025-08-14 01:12:31 +0300
commitb2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch)
treeacdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /__mocks__
parent275fece3e3de0bd09377a33813bcfe35e352874b (diff)
downloadvoidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst
Add displayName to contexts (#8814)
Diffstat (limited to '__mocks__')
-rw-r--r--__mocks__/@gorhom/bottom-sheet.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/__mocks__/@gorhom/bottom-sheet.tsx b/__mocks__/@gorhom/bottom-sheet.tsx
index dae0d6551..87bbe7d3a 100644
--- a/__mocks__/@gorhom/bottom-sheet.tsx
+++ b/__mocks__/@gorhom/bottom-sheet.tsx
@@ -1,7 +1,8 @@
-import React, {ReactNode} from 'react'
-import {View, ScrollView, Modal, FlatList, TextInput} from 'react-native'
+import React, {type ReactNode} from 'react'
+import {FlatList, Modal, ScrollView, TextInput, View} from 'react-native'
 
 const BottomSheetModalContext = React.createContext(null)
+BottomSheetModalContext.displayName = 'BottomSheetModalContext'
 
 const BottomSheetModalProvider = (props: any) => {
   return <BottomSheetModalContext.Provider {...props} value={{}} />
@@ -47,13 +48,13 @@ export {useBottomSheetInternal}
 export {useBottomSheetDynamicSnapPoints}
 
 export {
-  BottomSheetModalProvider,
   BottomSheetBackdrop,
+  BottomSheetFlatList,
+  BottomSheetFooter,
   BottomSheetHandle,
   BottomSheetModal,
-  BottomSheetFooter,
+  BottomSheetModalProvider,
   BottomSheetScrollView,
-  BottomSheetFlatList,
   BottomSheetTextInput,
 }