From 72cd4d203159b0cc1185ca9e4c0e6b138a28e4e5 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:48:48 +1200 Subject: [PATCH] chore: remaining from "react/react-in-jsx-scope" --- .../primary-module/statistic-block/reservation-stat-block.tsx | 1 - src/lib/types/router.ts | 2 -- .../_auth/(customers)/customers.$customerId._details.notes.tsx | 1 - src/routes/_auth/(customers)/customers.$customerId.edit.tsx | 1 - .../reservations.$reservationId._details.notes.tsx | 1 - 5 files changed, 6 deletions(-) diff --git a/src/components/primary-module/statistic-block/reservation-stat-block.tsx b/src/components/primary-module/statistic-block/reservation-stat-block.tsx index 87a08b96..f553fcc3 100644 --- a/src/components/primary-module/statistic-block/reservation-stat-block.tsx +++ b/src/components/primary-module/statistic-block/reservation-stat-block.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { Link } from "@tanstack/react-router"; import { useTranslation } from "react-i18next"; diff --git a/src/lib/types/router.ts b/src/lib/types/router.ts index 4f543606..7dc41fd4 100644 --- a/src/lib/types/router.ts +++ b/src/lib/types/router.ts @@ -1,5 +1,3 @@ -import type * as React from "react"; - export type LinkComponentProps = React.PropsWithoutRef< TComp extends React.FC | React.Component ? TProps diff --git a/src/routes/_auth/(customers)/customers.$customerId._details.notes.tsx b/src/routes/_auth/(customers)/customers.$customerId._details.notes.tsx index d37a602a..9ee362b2 100644 --- a/src/routes/_auth/(customers)/customers.$customerId._details.notes.tsx +++ b/src/routes/_auth/(customers)/customers.$customerId._details.notes.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { createFileRoute } from "@tanstack/react-router"; import ModuleNotesTabContent from "@/components/primary-module/tabs/notes-content"; diff --git a/src/routes/_auth/(customers)/customers.$customerId.edit.tsx b/src/routes/_auth/(customers)/customers.$customerId.edit.tsx index adc0da8f..963c6eda 100644 --- a/src/routes/_auth/(customers)/customers.$customerId.edit.tsx +++ b/src/routes/_auth/(customers)/customers.$customerId.edit.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { createFileRoute } from "@tanstack/react-router"; import { Container } from "@/routes/-components/container"; diff --git a/src/routes/_auth/(reservations)/reservations.$reservationId._details.notes.tsx b/src/routes/_auth/(reservations)/reservations.$reservationId._details.notes.tsx index 9e3a90c3..f0077fff 100644 --- a/src/routes/_auth/(reservations)/reservations.$reservationId._details.notes.tsx +++ b/src/routes/_auth/(reservations)/reservations.$reservationId._details.notes.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { createFileRoute } from "@tanstack/react-router"; import ModuleNotesTabContent from "@/components/primary-module/tabs/notes-content";