From 6fdee5f816df1d68adcdd59bc2b3cc233437a597 Mon Sep 17 00:00:00 2001 From: tom1145 Date: Fri, 17 May 2024 11:03:58 +0300 Subject: [PATCH] fix: build --- src/components/Asset/Edit/FormActions.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Asset/Edit/FormActions.tsx b/src/components/Asset/Edit/FormActions.tsx index a6da408ae2..e5dfd6465c 100644 --- a/src/components/Asset/Edit/FormActions.tsx +++ b/src/components/Asset/Edit/FormActions.tsx @@ -4,7 +4,7 @@ import { useAsset } from '@context/Asset' import Button from '@shared/atoms/Button' import styles from './FormActions.module.css' import Link from 'next/link' -import { ComputeEditForm, MetadataEditForm } from './_types' +import { MetadataEditForm } from './_types' export default function FormActions({ handleClick @@ -12,8 +12,7 @@ export default function FormActions({ handleClick?: () => void }): ReactElement { const { isAssetNetwork, asset } = useAsset() - const { isValid }: FormikContextType = - useFormikContext() + const { isValid }: FormikContextType = useFormikContext() const isSubmitDisabled = !isValid || !isAssetNetwork