File tree Expand file tree Collapse file tree
frontend/components/Bookmark Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface BookmarkProp {
2727 */
2828async 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 ) ;
You can’t perform that action at this time.
0 commit comments