Initialize toast hook in Profile component
cgen-4e3bad44d3f544089ec3134cd9550262
This commit is contained in:
parent
3f5a2f4cea
commit
b605fe2d19
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ interface CrossSiteCommunication {
|
|||
export default function Profile() {
|
||||
const navigate = useNavigate();
|
||||
const { user, profile, loading: authLoading, updateProfile } = useAuth();
|
||||
const { success: toastSuccess, error: toastError } = useAethexToast();
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [isSaving, setIsSaving] = useState(false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue