feat: implement settings layout and navigation, add tag and thought pages with API integration
This commit is contained in:
@@ -51,7 +51,7 @@ export function EditProfileForm({ currentUser }: EditProfileFormProps) {
|
||||
router.push(`/users/${currentUser.username}`);
|
||||
router.refresh(); // Ensure fresh data is loaded
|
||||
} catch (err) {
|
||||
toast.error("Failed to update profile.");
|
||||
toast.error(`Failed to update profile. ${err}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user