Skip to content

Commit

Permalink
removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaBonde committed Dec 17, 2024
1 parent 474933d commit ac2aa94
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function EditDateInput({
required={required}
defaultValue={value ? format(value!, "yyyy-MM-dd") : undefined}
type="date"
className="border-one_and_a_half shadow-sm border-primary rounded-md px-2 pt-1 mt-1 block w-full"
className="border-one_and_a_half shadow-sm border-primary rounded-md px-2 pt-1 mt-1 block w-full "
/>
</>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function EditTextarea({
name={name}
defaultValue={value}
aria-label={label}
className="border-one_and_a_half border-primary/80 rounded-md p-2 mt-1 block w-full focus:outline-none focus:bg-primary/10 transitionEase"
className="border-one_and_a_half border-primary/80 rounded-md p-2 mt-1 block w-full focus:outline-none focus:outline-primary"
/>
</>
) : (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { FilteredCustomerContext } from "@/hooks/CustomerFilterProvider";
import { ArrowLeft } from "react-feather";
import SearchBarComponent from "../SearchBarComponent";

export default function CustomerSidebarWithFilters() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
"use client";
import {
EngagementPerCustomerReadModel,
EngagementReadModel,
} from "@/api-types";
import { EngagementPerCustomerReadModel } from "@/api-types";
import CustomerRow from "@/components/CostumerTable/CustomerRow";
import { useCustomerFilter } from "@/hooks/staffing/useCustomerFilter";

Expand Down
1 change: 0 additions & 1 deletion frontend/src/hooks/CustomerFilterProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { EngagementPerCustomerReadModel, EngagementState } from "@/api-types";
import { usePathname, useSearchParams } from "next/navigation";
import { useRouter } from "next/router";
import { createContext, ReactNode, useEffect, useState } from "react";

export type CustomerFilters = {
Expand Down
4 changes: 0 additions & 4 deletions frontend/src/pagecontent/CustomerContent.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
"use client";
import { EngagementPerCustomerReadModel } from "@/api-types";
import IconActionButton from "@/components/Buttons/IconActionButton";
import ActiveCustomerFilters from "@/components/CostumerTable/ActiveCustomerFilters";
import CustomerSidebarWithFilters from "@/components/CostumerTable/CustomerSidebarWithFilters";
import CustomerRow from "@/components/CostumerTable/CustomerRow";
import { FilteredCustomerTable } from "@/components/CostumerTable/FilteredCustomersTable";
import { useState } from "react";
import { Filter } from "react-feather";

export function CustomerContent({
customers,
Expand Down

0 comments on commit ac2aa94

Please sign in to comment.