diff --git a/src/features/checker/Checker.tsx b/src/features/checker/Checker.tsx index 3672b27c..79c9634b 100644 --- a/src/features/checker/Checker.tsx +++ b/src/features/checker/Checker.tsx @@ -1,5 +1,26 @@ -import { CheckerRouter, CheckerProps } from "./CheckerRouter"; -import { CheckerProvider } from "./store"; +import { Hex } from "viem"; + +import { Step } from "@/components/ProgressModal"; + +import { CheckerRouter } from "~checker/CheckerRouter"; +import { ReviewBody } from "~checker/pages"; +import { EvaluationBody } from "~checker/services/checker/api"; +import { CheckerProvider } from "~checker/store"; + +export interface CheckerProps { + address: Hex; + poolId: string; + chainId: number; + setEvaluationBody: (body: EvaluationBody) => void; + isSigning: boolean; + isSuccess: boolean; + isEvaluating: boolean; + isError: boolean; + isErrorSigning: boolean; + steps: Step[]; + setReviewBody: (reviewBody: ReviewBody | null) => void; + isReviewing: boolean; +} export const Checker = (props: CheckerProps) => { return ( diff --git a/src/features/checker/CheckerRouter.tsx b/src/features/checker/CheckerRouter.tsx index 34806723..0243003d 100644 --- a/src/features/checker/CheckerRouter.tsx +++ b/src/features/checker/CheckerRouter.tsx @@ -15,7 +15,7 @@ import { import { EvaluationBody } from "~checker/services/checker/api"; import { CheckerRoute } from "~checker/store"; -export interface CheckerProps { +export interface CheckerRouterProps { address: Hex; poolId: string; chainId: number; @@ -43,7 +43,7 @@ export const CheckerRouter = ({ steps, setReviewBody, isReviewing, -}: CheckerProps) => { +}: CheckerRouterProps) => { useInitialize({ address, poolId, chainId }); const { route } = useCheckerContext();