Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
fix: modified function
Browse files Browse the repository at this point in the history
  • Loading branch information
CaileanSong committed Dec 7, 2023
1 parent 5c7894a commit b57d005
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/sidebar/search/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ defineShortcuts({
escape: {
usingInput: true,
handler: () => {
if (searchStore.modalShow == false) {
searchStore.toggleModal()
}
searchStore.modalShow ? '':searchStore.toggleModal();

Check failure on line 24 in components/sidebar/search/Search.vue

View workflow job for this annotation

GitHub Actions / lint

Expected an assignment or function call and instead saw an expression

Check failure on line 24 in components/sidebar/search/Search.vue

View workflow job for this annotation

GitHub Actions / lint

Operator ':' must be spaced

Check failure on line 24 in components/sidebar/search/Search.vue

View workflow job for this annotation

GitHub Actions / lint

Extra semicolon
},
},
})
Expand Down

0 comments on commit b57d005

Please sign in to comment.