Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinludu committed Oct 18, 2024
1 parent 18e4bb4 commit 23cc9aa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { useUser } from 'hooks/useUser';

import { ConfirmAuthCode } from './ConfirmAuthCode';

export function CustomModal({ onClose, ...props }: Omit<ModalProps, 'children'>, ref: Ref<HTMLDivElement>) {
type Props = Omit<ModalProps, 'children'>;

export function CustomModal({ onClose, ...props }: Props, ref: Ref<HTMLDivElement>) {
const { trigger: deleteOtp, error: deleteOtpError, isMutating: isLoadingDeleteOtp } = useDeleteOtp();
const { refreshUser } = useUser();

Expand Down

0 comments on commit 23cc9aa

Please sign in to comment.