From fb6ecc6c5b841bd8bfa8a3338a3e036bafa0c97b Mon Sep 17 00:00:00 2001 From: EnzoVezzaro Date: Wed, 19 Oct 2022 08:07:13 -0400 Subject: [PATCH] fix typing --- src/components/Asset/Edit/EditMetadata.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Asset/Edit/EditMetadata.tsx b/src/components/Asset/Edit/EditMetadata.tsx index e5ce1fe54..215405013 100644 --- a/src/components/Asset/Edit/EditMetadata.tsx +++ b/src/components/Asset/Edit/EditMetadata.tsx @@ -145,14 +145,14 @@ export default function Edit({ asset?.metadata, asset?.services[0]?.timeout, asset?.accessDetails?.price - ) as FormEditMetadataValues + ) as unknown as FormEditMetadataValues return ( { + onSubmit={async (values: any, { resetForm }) => { // move user's focus to top of screen window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }) // kick off editing