Use correct type

This commit is contained in:
Manav Rathi
2024-08-30 19:15:04 +05:30
parent b7e67d4e2a
commit 737e46a90e

View File

@@ -25,7 +25,7 @@ import {
TextField,
Typography,
} from "@mui/material";
import { useFormik, type FormikContextType } from "formik";
import { useFormik, type FormikProps } from "formik";
import { useRouter } from "next/router";
import { AppContext } from "pages/_app";
import React, { useContext, useEffect, useMemo, useRef, useState } from "react";
@@ -250,7 +250,7 @@ const ListItem = styled("div")`
`;
interface HeaderProps {
formik: FormikContextType<ClusteringOpts>;
formik: FormikProps<ClusteringOpts>;
clusterRes: ClusterDebugPageContents | undefined;
}