chore: biome cleanup

This commit is contained in:
redglow
2026-06-20 16:17:36 +02:00
parent 1eeab12f8e
commit 4d10713259
6 changed files with 8 additions and 7 deletions
@@ -2,14 +2,12 @@ import MenuIcon from "@mui/icons-material/Menu";
import {
AppBar,
Box,
Button,
IconButton,
Menu,
MenuItem,
Toolbar,
Typography,
} from "@mui/material";
import { Link } from "@tanstack/react-router";
import { useState } from "react";
import { RouterButton } from "./RouterButton";
+2 -1
View File
@@ -1,6 +1,7 @@
// src/components/ui/mui-router-button.tsx
import { createLink } from "@tanstack/react-router";
import { Button, type ButtonProps } from "@mui/material";
import { createLink } from "@tanstack/react-router";
import { forwardRef } from "react";
// Create a router-compatible MUI Button
+2 -1
View File
@@ -1,6 +1,7 @@
// src/components/ui/mui-router-fab.tsx
import { createLink } from "@tanstack/react-router";
import { Fab, type FabProps } from "@mui/material";
import { createLink } from "@tanstack/react-router";
import { forwardRef } from "react";
// Router-compatible Floating Action Button
+2 -1
View File
@@ -1,6 +1,7 @@
// src/components/ui/mui-router-link.tsx
import { type LinkProps, Link as MuiLink } from "@mui/material";
import { createLink } from "@tanstack/react-router";
import { Link as MuiLink, type LinkProps } from "@mui/material";
import { forwardRef } from "react";
// Create a router-compatible MUI Link with full type safety
+1 -1
View File
@@ -3,9 +3,9 @@ import "@fontsource/raleway/400.css";
import "@fontsource/raleway/500.css";
import "@fontsource/raleway/700.css";
import { createRouter, RouterProvider } from "@tanstack/react-router";
import React from "react";
import ReactDOM from "react-dom/client";
import { RouterProvider, createRouter } from "@tanstack/react-router";
// Import the generated route tree
import { routeTree } from "./routeTree.gen";
+1 -1
View File
@@ -1,8 +1,8 @@
import { CssBaseline } from "@mui/material";
import { createRootRoute, Outlet } from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import { AppTheme } from "../theme";
import DashboardLayout from "../components/DashboardLayout";
import { AppTheme } from "../theme";
export const Route = createRootRoute({
component: () => (