Skip to content

Commit

Permalink
style: lint and apply biomejs recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
soumitradev committed Dec 30, 2023
1 parent 5f5342b commit e11676c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Route } from "@tanstack/react-router";
import { AtSign } from "lucide-react";
import { rootRoute } from "./main";
import { Button } from "./components/ui/button";
import { ModeToggle } from "./components/mode-toggle";
import { Button } from "./components/ui/button";
import { rootRoute } from "./main";

const loginRoute = new Route({
getParentRoute: () => rootRoute,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/mode-toggle.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Moon, Sun } from "lucide-react";

import { useTheme } from "@/components/theme-provider";
import { Button } from "@/components/ui/button";
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { useTheme } from "@/components/theme-provider";

export function ModeToggle() {
const { setTheme } = useTheme();
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ThemeProvider } from "@/components/theme-provider";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import {
Router,
Expand All @@ -10,7 +11,6 @@ import indexRoute from "./Home";
import loginRoute from "./Login";
import RootComponent from "./RootComponent";
import "./index.css";
import { ThemeProvider } from "@/components/theme-provider";

const queryClient = new QueryClient();

Expand Down

0 comments on commit e11676c

Please sign in to comment.