Skip to content

Commit 1cffe6d

Browse files
committed
style: Fix formatting
1 parent b9c317e commit 1cffe6d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/components/Bookmark/BookmarkCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface BookmarkProp {
2727
*/
2828
async function addTagToBookmark(
2929
bookmark: Bookmark,
30-
tag: string,
30+
tag: string
3131
): Promise<TagAction> {
3232
let action: TagAction = {
3333
type: "add",
@@ -159,7 +159,7 @@ export default function BookmarkCard({ bookmark }: Readonly<BookmarkProp>) {
159159

160160
const isChanges = (
161161
beforeEdit: RefObject<Bookmark>,
162-
edit: RefObject<Bookmark>,
162+
edit: RefObject<Bookmark>
163163
) => {
164164
return JSON.stringify(beforeEdit.current) != JSON.stringify(edit.current);
165165
};
@@ -201,7 +201,7 @@ export default function BookmarkCard({ bookmark }: Readonly<BookmarkProp>) {
201201
const tagId = bookmark.tags[idx].id;
202202
if (currentBookmark.current) {
203203
currentBookmark.current.tags = currentBookmark.current.tags.filter(
204-
(_t, i) => i !== idx,
204+
(_t, i) => i !== idx
205205
);
206206
}
207207
api.deleteTagById(bookmark.id, tagId);

0 commit comments

Comments
 (0)