fix: Address second code review findings (test isolation, frontend type safety)
This commit is contained in:
@@ -37,7 +37,7 @@ function App() {
|
||||
setUser(userData)
|
||||
setIsAuthenticated(true)
|
||||
if (userData.theme_preference) {
|
||||
setThemeLocal(userData.theme_preference as "light" | "dark")
|
||||
setThemeLocal(userData.theme_preference)
|
||||
}
|
||||
// Load history after successful auth
|
||||
loadHistory()
|
||||
@@ -67,7 +67,7 @@ function App() {
|
||||
setUser(userData)
|
||||
setIsAuthenticated(true)
|
||||
if (userData.theme_preference) {
|
||||
setThemeLocal(userData.theme_preference as "light" | "dark")
|
||||
setThemeLocal(userData.theme_preference)
|
||||
}
|
||||
loadHistory()
|
||||
} catch (err: unknown) {
|
||||
|
||||
Reference in New Issue
Block a user