Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Lysak committed Jul 29, 2024
1 parent f52e81c commit 561d4f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 561d4f5

Please sign in to comment.