mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-20 22:24:28 +01:00
Added profile button (#21)
This commit is contained in:
@@ -61,7 +61,8 @@ export const getDefaultSettings = (): Settings => ({
|
||||
},
|
||||
system: {
|
||||
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
}
|
||||
},
|
||||
profile: {}
|
||||
});
|
||||
|
||||
// Map of data types to their default values
|
||||
@@ -84,9 +85,14 @@ export interface SystemSettings {
|
||||
timezone: string;
|
||||
}
|
||||
|
||||
export interface ProfileSettings {
|
||||
avatarPath?: string;
|
||||
}
|
||||
|
||||
export interface Settings {
|
||||
ui: UISettings;
|
||||
system: SystemSettings;
|
||||
profile: ProfileSettings;
|
||||
}
|
||||
|
||||
export interface JotaiHydrateInitialValues {
|
||||
|
||||
Reference in New Issue
Block a user