diff --git a/src/useModal.interface.ts b/src/useModal.interface.ts index 399992f..35a3a24 100644 --- a/src/useModal.interface.ts +++ b/src/useModal.interface.ts @@ -10,7 +10,6 @@ export type UseModalOptions = UseModalOptionsBasic; export interface UseModalOptionsBasic { Component: FC>; - fuck: string; overlayStyles?: CSSProperties; overlayClassName?: string; closeOnEsc?: boolean; diff --git a/src/useModal.tsx b/src/useModal.tsx index ed0606f..ceac289 100644 --- a/src/useModal.tsx +++ b/src/useModal.tsx @@ -27,14 +27,11 @@ export function useModal({ closeTimeoutMs, blockBodyScroll, onOpen, - onClose, - fuck + onClose }: UseModalOptions): UseModalReturnType { const addPortal = useAddPortal(); const removePortal = useRemovePortal(); - console.log('fuck:', fuck); - const onResolve = (resolve: ResolveFunction, containerIdPostfix: string) => { return (result: ResultType) => { const beforeCloseActions = () => {