chore: rm dead code
This commit is contained in:
parent
33b1a11d85
commit
72ff9c0964
@ -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;
|
|
Loading…
Reference in New Issue
Block a user