mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
chore: disable rules in oxlint (#9154)
This commit is contained in:
@@ -97,7 +97,7 @@ export const DayPicker = memo(function DayPicker(
|
||||
const focused = document.activeElement;
|
||||
|
||||
// check if focused is a date cell
|
||||
if (!focused?.hasAttribute('data-is-date-cell')) return;
|
||||
if (!(focused as HTMLElement | null)?.dataset.isDateCell) return;
|
||||
if (e.shiftKey) return;
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user