Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
AkydA committed Aug 26, 2024
1 parent 8964442 commit 9494c9c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import React, {
useState,
} from "react";
import { useFieldArray, useForm } from "react-hook-form";
import { yupResolver } from "@hookform/resolvers/yup";

import Button, { ButtonHierarchy } from "@components/common/button/Button";
import FormInput from "@components/common/form-input/FormInput";
Expand All @@ -16,7 +17,6 @@ import IconAdd from "@components/common/icons/IconAdd";
import IconClose from "@components/common/icons/IconCancel";
import IconRemove from "@components/common/icons/IconRemove";
import { Overlay } from "@components/common/modal/Modal.styles";
import { yupResolver } from "@hookform/resolvers/yup";
import useEscCloseModal from "@hooks/common/use-esc-close-modal";
import useLockedBody from "@hooks/common/use-lock-body";
import { DEVICE_TYPE } from "@styles/media";
Expand Down Expand Up @@ -115,7 +115,8 @@ const CreateProposalModal: React.FC<Props> = ({
};
}, [modalRef]);

const validationProps = useMemo(() => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const validationProps: any = useMemo(() => {
if (type === ProposalOption[1]) {
return getCreateProposalCommunityPoolSpendValidation();
}
Expand Down

0 comments on commit 9494c9c

Please sign in to comment.