Parcourir la source

chore: rm dead code

GyDi il y a 2 ans
Parent
commit
72ff9c0964
1 fichiers modifiés avec 0 ajouts et 14 suppressions
  1. 0 14
      src/hooks/use-modal-handler.ts

+ 0 - 14
src/hooks/use-modal-handler.ts

@@ -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;