mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
fix: unused var
This commit is contained in:
@@ -32,12 +32,7 @@ import {
|
|||||||
User,
|
User,
|
||||||
X,
|
X,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import {
|
import { type CSSProperties, Fragment, type ReactNode, useState } from "react";
|
||||||
type CSSProperties,
|
|
||||||
Fragment,
|
|
||||||
type ReactNode,
|
|
||||||
useState,
|
|
||||||
} from "react";
|
|
||||||
import { PROFILE_TYPE_LABELS } from "@/constants/profileMode";
|
import { PROFILE_TYPE_LABELS } from "@/constants/profileMode";
|
||||||
import NotificationBellContainer from "@/features/notifications/NotificationBellContainer";
|
import NotificationBellContainer from "@/features/notifications/NotificationBellContainer";
|
||||||
|
|
||||||
@@ -159,7 +154,6 @@ export function AppLayout({
|
|||||||
const borderColor = theme.colors["edr-border"][6];
|
const borderColor = theme.colors["edr-border"][6];
|
||||||
const mutedColor = theme.colors["edr-muted"][6];
|
const mutedColor = theme.colors["edr-muted"][6];
|
||||||
const textColor = theme.colors["edr-text"][6];
|
const textColor = theme.colors["edr-text"][6];
|
||||||
const accentColor = theme.colors["edr-accent"][6];
|
|
||||||
const primaryColor = theme.colors["edr-green"][5];
|
const primaryColor = theme.colors["edr-green"][5];
|
||||||
const primaryDarkColor = theme.colors["edr-green"][7];
|
const primaryDarkColor = theme.colors["edr-green"][7];
|
||||||
|
|
||||||
@@ -469,7 +463,9 @@ export function AppLayout({
|
|||||||
<Menu.Item
|
<Menu.Item
|
||||||
leftSection={<Plus size={15} />}
|
leftSection={<Plus size={15} />}
|
||||||
color="edr-green"
|
color="edr-green"
|
||||||
onClick={() => navigate("/bookings/new", { state: { fresh: true } })}
|
onClick={() =>
|
||||||
|
navigate("/bookings/new", { state: { fresh: true } })
|
||||||
|
}
|
||||||
>
|
>
|
||||||
New Booking
|
New Booking
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user