Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: fix frontend linter
Johnny53a8a436ba2d
diff --git a/web/src/components/MemoEditor/components/RelationList.tsx b/web/src/components/MemoEditor/components/RelationList.tsxindex 755f9e8eb..00651f5ed 100644--- a/web/src/components/MemoEditor/components/RelationList.tsx+++ b/web/src/components/MemoEditor/components/RelationList.tsx@@ -39,7 +39,9 @@ const RelationItemCard: FC<{};const RelationList: FC<RelationListProps> = ({ relations, onRelationsChange, parentPage, memoName }) => {- const referenceRelations = relations.filter((r) => r.type === MemoRelation_Type.REFERENCE && (!memoName || !r.memo?.name || r.memo.name === memoName));+ const referenceRelations = relations.filter(+ (r) => r.type === MemoRelation_Type.REFERENCE && (!memoName || !r.memo?.name || r.memo.name === memoName),+ );const [fetchedMemos, setFetchedMemos] = useState<Record<string, MemoRelation_Memo>>({});useEffect(() => {