fix: update uniqby key (#3518)

* Used correct uniqby key

* Put back filter

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
This commit is contained in:
Martin MacDonald 2024-06-05 01:03:56 +01:00 committed by GitHub
parent e8ed437ca3
commit 0977acbc7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ const AddMemoRelationButton = (props: Props) => {
})),
...context.relationList,
].filter((relation) => relation.relatedMemo !== context.memoName),
"relatedMemoId",
"relatedMemo",
),
);
},