Skip to content

Commit d086112

Browse files
committed
Refactor UI components: standardize import statements, enhance code readability by adding semicolons, and improve formatting in various components including Header, Chart, Command, DropdownMenu, and others. Update API query functions for better consistency and clarity.
1 parent 170d542 commit d086112

23 files changed

+311
-286
lines changed

src/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { logout } from "@/lib/queries/token";
77

88
import { LanguageToggle } from "./language-toggle";
99
import { ModeToggle } from "./mode-toggle";
10+
import { useTheme } from "./theme-provider";
1011
import { Avatar, AvatarImage } from "./ui/avatar";
1112
import { Button } from "./ui/button";
1213
import {
@@ -16,7 +17,6 @@ import {
1617
DialogFooter,
1718
DialogHeader,
1819
} from "./ui/dialog";
19-
import { useTheme } from "./theme-provider";
2020

2121
function Header({ instanceId }: { instanceId?: string }) {
2222
const [logoutConfirmation, setLogoutConfirmation] = useState(false);

0 commit comments

Comments
 (0)