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
@@ -20,7 +20,7 @@ interface OrchestratorMessagesViewProps {
export const OrchestratorMessagesView = forwardRef<ScrollView, OrchestratorMessagesViewProps>(
function OrchestratorMessagesView({ messages, currentAssistantMessage, onArtifactClick }, ref) {
const { theme } = useUnistyles();
const bottomSheetRef = useRef<BottomSheetModal>(null);
const bottomSheetRef = useRef<BottomSheetModal | null>(null);
const [selectedToolCall, setSelectedToolCall] = useState<{
toolName: string;
status: 'executing' | 'completed' | 'failed';