add — settings page has basic ui, changes to preferences currently do not take effect

This commit is contained in:
2026-09-01 09:47:54 -07:00
parent 75b65bfcaa
commit 43cc39fd62
3 changed files with 145 additions and 1 deletions
+16 -1
View File
@@ -86,7 +86,22 @@ const useAuthStore = create((set) => ({
} catch (error) {
console.error("Failed to save layout to database", error);
}
}
},
// updateProfile: async (newProfile) => {
// try {
// set((state) => ({
// user: {
// ...state.user,
// username: newProfile.username,
// }
// }));
//
// await api.post('profile/update/', { profile: newProfile });
// } catch (error) {
// console.error("Failed to update profile", error);
// }
// }
}));
export default useAuthStore;