Added profile button (#21)

This commit is contained in:
Doh
2025-01-04 14:10:28 -05:00
committed by GitHub
parent f04a5e484c
commit fadf33e8df
12 changed files with 725 additions and 131 deletions

View File

@@ -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 {