chore: rm dead code

This commit is contained in:
GyDi 2022-11-23 17:45:49 +08:00
parent 33b1a11d85
commit 72ff9c0964
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -1,14 +0,0 @@
import { MutableRefObject, useRef } from "react";
interface Handler {
open: () => void;
close: () => void;
}
export type ModalHandler = MutableRefObject<Handler>;
const useModalHandler = (): ModalHandler => {
return useRef({ open: () => {}, close: () => {} });
};
export default useModalHandler;