Add default page selector

This commit is contained in:
Jack Chakany
2023-02-16 09:13:36 -05:00
parent cafd820fd9
commit 4092ab90e0
4 changed files with 50 additions and 2 deletions

View File

@ -65,6 +65,11 @@ export interface UserPreferences {
* Use imgproxy to optimize images
*/
imgProxyConfig: ImgProxySettings | null;
/**
* Default page to select on load
*/
defaultPage: "posts" | "conversations" | "global";
}
export type DbType = "indexdDb" | "redux";
@ -225,6 +230,7 @@ export const InitState = {
autoShowLatest: false,
fileUploader: "void.cat",
imgProxyConfig: DefaultImgProxy,
defaultPage: "posts",
},
} as LoginStore;