refactor: clean up unused imports and adjust icon sizes

- Removed unused imports from the ShowProjects component for better clarity.
- Updated LibsqlIcon dimensions to use relative units for improved responsiveness.
- Adjusted icon size in the EnvironmentPage for consistency with other icons.
This commit is contained in:
Mauricio Siu
2026-03-21 17:54:33 -06:00
parent 0b08fa9a59
commit b61ca31981
3 changed files with 3 additions and 10 deletions

View File

@@ -15,7 +15,6 @@ import { toast } from "sonner";
import { BreadcrumbSidebar } from "@/components/shared/breadcrumb-sidebar";
import { DateTooltip } from "@/components/shared/date-tooltip";
import { FocusShortcutInput } from "@/components/shared/focus-shortcut-input";
import { StatusTooltip } from "@/components/shared/status-tooltip";
import { TagBadge } from "@/components/shared/tag-badge";
import { TagFilter } from "@/components/shared/tag-filter";
import {
@@ -52,7 +51,6 @@ import {
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
import { TimeBadge } from "@/components/ui/time-badge";
import { api } from "@/utils/api";
import { useDebounce } from "@/utils/hooks/use-debounce";
import { HandleProject } from "./handle-project";
@@ -200,11 +198,6 @@ export const ShowProjects = () => {
return (
<>
{!isCloud && (
<div className="absolute top-4 right-4">
<TimeBadge />
</div>
)}
<BreadcrumbSidebar
list={[{ name: "Projects", href: "/dashboard/projects" }]}
/>

View File

@@ -160,8 +160,8 @@ export const LibsqlIcon = ({ className }: Props) => {
return (
<svg
aria-label="libsql"
height="35"
width="35"
height="1em"
width="1em"
viewBox="0 0 217.2 217.2"
className={className}
>

View File

@@ -1543,7 +1543,7 @@ const EnvironmentPage = (
<CircuitBoard className="h-6 w-6" />
)}
{service.type === "libsql" && (
<LibsqlIcon className="h-7 w-7" />
<LibsqlIcon className="h-6 w-6" />
)}
</span>
</div>