fix theme select

This commit is contained in:
Lamp 2025-03-12 16:25:07 -07:00
parent cefad7dcdd
commit 5df9a65ecf
2 changed files with 3 additions and 5 deletions

@ -19,7 +19,7 @@ export function App() {
setUser({...user, ...partial_user});
};
var [theme, _setTheme] = useState(localStorage.theme);
var [theme, _setTheme] = useState(localStorage.theme || "");
var setTheme = theme => { _setTheme(theme); localStorage.theme = theme; }

@ -1,4 +1,4 @@
work in progress:
unfinished/work in progress:
- message delete & edit
@ -7,6 +7,4 @@ todo:
- better replies
- mousing not in react?
- fix scrollback issues
- more limits
no users = no motivation
- more limits