Skip to content

Commit

Permalink
remove dup
Browse files Browse the repository at this point in the history
  • Loading branch information
Seroxdesign committed Jan 23, 2024
1 parent fe48ad8 commit 5d1dd66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/components/EditProfileModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
const { username } = player.profile ?? {};
const { save } = useSaveToComposeDB();
const [, invalidateCache] = useInsertCacheInvalidationMutation();
const { w3storage } = useWeb3();
const { w3storage, chainId } = useWeb3();
const initialFormValues = useMemo(
() => getDefaultFormValues(player),
[player],
Expand All @@ -123,7 +123,6 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
reset,
formState: { errors, dirtyFields, isDirty },
} = formMethods;
const { chainId } = useWeb3();
const toast = useToast();

const [pickedFiles, setPickedFiles] = useState<
Expand Down

0 comments on commit 5d1dd66

Please sign in to comment.