mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: use undefined
instead of UNKNOWN_ID
This commit is contained in:
@ -108,7 +108,7 @@ const Memo: React.FC<Props> = (props: Props) => {
|
||||
const tagName = targetEl.innerText.slice(1);
|
||||
const currTagQuery = locationService.getState().query?.tag;
|
||||
if (currTagQuery === tagName) {
|
||||
locationService.setTagQuery("");
|
||||
locationService.setTagQuery(undefined);
|
||||
} else {
|
||||
locationService.setTagQuery(tagName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user