fix: Address second code review findings (test isolation, frontend type safety)

This commit is contained in:
Yunxiao Xu
2026-02-17 02:11:04 -08:00
parent 96e2634053
commit ece12f951a
6 changed files with 31 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
import { createContext, useContext, useEffect, useState } from "react"
import { AuthService } from "@/services/auth"
type Theme = "light" | "dark"
export type Theme = "light" | "dark"
interface ThemeContextType {
theme: Theme