feat: ability to cancel multiple selection from UI (#1045)

This commit is contained in:
Mo
2022-05-23 17:01:44 -05:00
committed by GitHub
parent acdf442e61
commit 8877c42079
9 changed files with 74 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ export const PinNoteButton: FunctionComponent<Props> = observer(
return null
}
const notes = Object.values(appState.notes.selectedNotes)
const notes = appState.notes.selectedNotes
const pinned = notes.some((note) => note.pinned)
const togglePinned = useCallback(async () => {