fix theme switcher caption

This commit is contained in:
PrinOrange
2024-01-08 20:16:33 +08:00
parent 0ab1b1b9ce
commit f1b0c00d63

View File

@@ -104,7 +104,7 @@ export const NavBar = () => {
> >
{theme === "light" ? <MdOutlineDarkMode /> : <MdOutlineLightMode />} {theme === "light" ? <MdOutlineDarkMode /> : <MdOutlineLightMode />}
</div> </div>
<div className="my-auto">{theme === "light" ? "LIGHT" : "DARK"}</div> <div className="my-auto">{theme === "light" ? "DARK" : "LIGHT"}</div>
</div> </div>
</SheetContent> </SheetContent>
</Sheet> </Sheet>