chore (client, minor): slightly more readable condition

This commit is contained in:
naskya 2024-04-02 02:40:55 +09:00
parent 81b9fdf397
commit 97e6dc1bb4
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -429,7 +429,7 @@ const keymap = {
s: () => showContent.value !== showContent.value, s: () => showContent.value !== showContent.value,
}; };
if (!appearNote.value.historyId) { if (appearNote.value.historyId == null) {
useNoteCapture({ useNoteCapture({
rootEl: el, rootEl: el,
note: appearNote, note: appearNote,