mirror of
https://github.com/khairul169/vaulterm.git
synced 2026-09-15 17:03:30 +07:00
feat: update ui for android
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useCallback, useMemo, useRef } from "react";
|
||||
import { useCallback, useRef } from "react";
|
||||
|
||||
export const useDebounceCallback = <T extends (...args: any[]) => any>(
|
||||
callback: T,
|
||||
@@ -24,5 +24,5 @@ export const useDebounceCallback = <T extends (...args: any[]) => any>(
|
||||
[delay, clear]
|
||||
);
|
||||
|
||||
return [fn, clear] as const;
|
||||
return fn;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user