rename defaultPage to defaultRootTab and make posts default

This commit is contained in:
Jack Chakany
2023-02-16 20:27:46 -05:00
parent 4092ab90e0
commit e42834857b
4 changed files with 8 additions and 7 deletions

View File

@ -31,7 +31,8 @@ export default function RootPage() {
},
};
const [tab, setTab] = useState<Tab>(() => {
switch (preferences.defaultPage) {
switch (preferences.defaultRootTab) {
default:
case "posts":
return RootTab.Posts;
case "conversations":