style: using fs promises

This commit is contained in:
Chubby Granny Chaser
2025-03-09 19:28:47 +00:00
parent 857063d2c7
commit a32fdf3385
6 changed files with 43 additions and 53 deletions

View File

@@ -235,6 +235,7 @@ declare global {
restartAndInstallUpdate: () => Promise<void>;
/* Auth */
getAuth: () => Promise<Auth | null>;
signOut: () => Promise<void>;
openAuthWindow: (page: AuthPage) => Promise<void>;
getSessionHash: () => Promise<string | null>;
@@ -243,7 +244,6 @@ declare global {
onSignOut: (cb: () => void) => () => Electron.IpcRenderer;
/* User */
getAuth: () => Promise<Auth | null>;
getUser: (userId: string) => Promise<UserProfile | null>;
blockUser: (userId: string) => Promise<void>;
unblockUser: (userId: string) => Promise<void>;

View File

@@ -34,7 +34,7 @@
color: #fff;
padding: 0 globals.$spacing-unit;
border-radius: 4px;
font-size: 12px;
font-size: globals.$small-font-size;
}
&__row {