mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore: unify version (#1123)
This commit is contained in:
@@ -13,7 +13,6 @@ export function isMobile(userAgent: string) {
|
||||
|
||||
export const getIsMobile = function () {
|
||||
return isMobile(
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
navigator?.userAgent || navigator?.vendor || (window as any)?.opera
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
export function debounce(fn: Function, timeout: number) {
|
||||
let timeoutId: any;
|
||||
|
||||
Reference in New Issue
Block a user