diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js index 63020a532..fe49f45b0 100644 --- a/apps/mobile/app/components/list-items/note/index.js +++ b/apps/mobile/app/components/list-items/note/index.js @@ -37,6 +37,7 @@ import { SIZE } from "../../../utils/size"; import { Properties } from "../../properties"; import { Button } from "../../ui/button"; import { IconButton } from "../../ui/icon-button"; +import { ReminderTime } from "../../ui/reminder-time"; import { TimeSince } from "../../ui/time-since"; import Heading from "../../ui/typography/heading"; import Paragraph from "../../ui/typography/paragraph"; @@ -92,9 +93,9 @@ const NoteItem = ({ const attachmentCount = db.attachments?.ofNote(item.id, "all")?.length || 0; const notebooks = React.useMemo(() => getNotebook(item), [item]); const reminders = db.relations.from(item, "reminder"); - const current = getUpcomingReminder(reminders); + const reminder = getUpcomingReminder(reminders); const _update = useRelationStore((state) => state.updater); - + const noteColor = COLORS_NOTE[item.color?.toLowerCase()]; return ( <> {notebooks?.map((_item) => (