fix: correct typescript ref types for bottom sheet and audio player

This commit is contained in:
Mohamed Boudra
2025-10-23 20:06:11 +02:00
parent e7306ab495
commit a0f45f2cfc
4 changed files with 4 additions and 4 deletions
@@ -42,7 +42,7 @@ export function AgentStreamView({
onPermissionResponse,
}: AgentStreamViewProps) {
const scrollViewRef = useRef<ScrollView>(null);
const bottomSheetRef = useRef<BottomSheetModal>(null);
const bottomSheetRef = useRef<BottomSheetModal | null>(null);
const insets = useSafeAreaInsets();
const [selectedToolCall, setSelectedToolCall] = useState<{
toolName: string;