mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
fix: add missing imports for safe navigation in MobileCitationDrawer
resolveSafeNavigationHref and openSafeNavigationHref are called in MobileCitationDrawer (line 262-263) but were never imported, causing a ReferenceError crash when mobile users tap a citation source link. Both functions are correctly imported in citation.tsx and citation-list.tsx but the import was missed in assistant-message.tsx.
This commit is contained in:
parent
7c61668823
commit
025e763694
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ import { TooltipIconButton } from "@/components/assistant-ui/tooltip-icon-button
|
|||
import { CommentPanelContainer } from "@/components/chat-comments/comment-panel-container/comment-panel-container";
|
||||
import { CommentSheet } from "@/components/chat-comments/comment-sheet/comment-sheet";
|
||||
import type { SerializableCitation } from "@/components/tool-ui/citation";
|
||||
import { openSafeNavigationHref, resolveSafeNavigationHref } from "@/components/tool-ui/shared/media";
|
||||
import {
|
||||
Drawer,
|
||||
DrawerContent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue