feat: implement settings layout and navigation, add tag and thought pages with API integration

This commit is contained in:
2025-09-06 21:56:41 +02:00
parent 5344e0d6a8
commit 85e3425d4b
9 changed files with 257 additions and 18 deletions

View File

@@ -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}`);
}
}