diff --git a/client/src/components/Collab/CollabNotes.tsx b/client/src/components/Collab/CollabNotes.tsx index bcb729172..31331097b 100644 --- a/client/src/components/Collab/CollabNotes.tsx +++ b/client/src/components/Collab/CollabNotes.tsx @@ -24,6 +24,7 @@ import { NoteCard } from './CollabNotesCard' import { FilePreviewPortal } from './CollabNotesFilePreviewPortal' import { AuthedImg } from './CollabNotesAuthedImg' import { safeExternalHref } from '../../utils/safeUrl' +import { useIsPhone } from '../../mobile/useIsPhone' // ── Main Component ────────────────────────────────────────────────────────── interface CollabNotesProps { @@ -343,6 +344,7 @@ function CollabNotesGrid(S: NotesState) { sortedNotes, currentUser, canEdit, handleUpdateNote, setPendingDeleteNoteId, setEditingNote, setViewingNote, setPreviewFile, getCategoryColor, tripId, t, } = S + const isPhone = useIsPhone() return (