From 561d4f5b4a3de6206365aaefc12bc58f69c9afd2 Mon Sep 17 00:00:00 2001 From: Stanislav Lysak Date: Mon, 29 Jul 2024 19:26:46 +0300 Subject: [PATCH] lint fix --- .../pages/profile/[name]/registration/steps/Profile/Profile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/profile/[name]/registration/steps/Profile/Profile.tsx b/src/components/pages/profile/[name]/registration/steps/Profile/Profile.tsx index bbabfbad7..7c346bea0 100644 --- a/src/components/pages/profile/[name]/registration/steps/Profile/Profile.tsx +++ b/src/components/pages/profile/[name]/registration/steps/Profile/Profile.tsx @@ -208,7 +208,7 @@ const Profile = ({ name, callback, registrationData, resolverExists }: Props) => avatarFile={avatarFile} handleCancel={() => setModalOpen(false)} type={_modalOption} - handleSubmit={(type: 'nft' | 'upload', uri: string, display?: string) => { + handleSubmit={(type, uri, display) => { setAvatar(uri) setAvatarSrc(display) setModalOpen(false)