feat(WEB-162): final design edit profile page

This commit is contained in:
Simon Emanuelsson
2024-06-18 08:15:57 +02:00
committed by Christel Westerberg
parent 5f3e417593
commit d84efcbb0f
81 changed files with 1538 additions and 711 deletions

View File

@@ -1,23 +0,0 @@
import { create } from "zustand"
interface EditProfileState {
pending: boolean
valid: boolean
}
interface EditProfileActions {
setIsPending: (isPending: boolean) => void
setValid: (isValid: boolean) => void
}
export interface EditProfileStore
extends EditProfileActions,
EditProfileState { }
export const useProfileStore = create<EditProfileStore>()((set) => ({
pending: false,
valid: true,
setIsPending: (isPending) => set(() => ({ pending: isPending })),
setValid: (isValid) => set(() => ({ valid: isValid })),
}))