mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Update packages/web/components/EditProfileModal.tsx
Co-authored-by: δυς <dys@dhappy.org>
This commit is contained in:
@@ -115,8 +115,7 @@ export const EditProfileModal: React.FC<ProfileEditorProps> = ({
|
||||
}) => {
|
||||
const [status, setStatus] = useState<Maybe<ReactElement | string>>();
|
||||
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
const username = useMemo(() => player?.profile?.username, []);
|
||||
const username = player?.profile?.username;
|
||||
const params = useRouter();
|
||||
const debug = !!params.query.debug;
|
||||
const saveToCeramic = useSaveCeramicProfile({ debug, setStatus });
|
||||
|
||||
Reference in New Issue
Block a user