Skip to content

Commit

Permalink
fix: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Conner McKenna committed Oct 26, 2023
1 parent fd05bc2 commit 03b340a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/useModal.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export type UseModalOptions<ResultType> = UseModalOptionsBasic<ResultType>;

export interface UseModalOptionsBasic<ResultType> {
Component: FC<UseModalComponentProps<ResultType>>;
fuck: string;
overlayStyles?: CSSProperties;
overlayClassName?: string;
closeOnEsc?: boolean;
Expand Down
5 changes: 1 addition & 4 deletions src/useModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ export function useModal<ResultType, ModalProps>({
closeTimeoutMs,
blockBodyScroll,
onOpen,
onClose,
fuck
onClose

Check failure on line 30 in src/useModal.tsx

View workflow job for this annotation

GitHub Actions / build

Insert `,`
}: UseModalOptions<ResultType>): UseModalReturnType<ResultType, ModalProps> {
const addPortal = useAddPortal();
const removePortal = useRemovePortal();

console.log('fuck:', fuck);

const onResolve = (resolve: ResolveFunction<ResultType>, containerIdPostfix: string) => {
return (result: ResultType) => {
const beforeCloseActions = () => {
Expand Down

0 comments on commit 03b340a

Please sign in to comment.