From c8e096ca7cbd2540ddc0917226c366998283d3c9 Mon Sep 17 00:00:00 2001 From: alejandrobailo Date: Wed, 22 Oct 2025 14:28:19 +0200 Subject: [PATCH] refactor: revert changes in /ui --- ui/components/ui/index.ts | 1 + ui/components/ui/select/index.ts | 12 ------------ ui/components/ui/table/data-table-pagination.tsx | 7 ++++--- 3 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 ui/components/ui/select/index.ts diff --git a/ui/components/ui/index.ts b/ui/components/ui/index.ts index 9099a7caa0..205ec7fd50 100644 --- a/ui/components/ui/index.ts +++ b/ui/components/ui/index.ts @@ -12,5 +12,6 @@ export * from "./feedback-banner/feedback-banner"; export * from "./headers/navigation-header"; export * from "./label/Label"; export * from "./main-layout/main-layout"; +export * from "./select/Select"; export * from "./sidebar"; export * from "./toast"; diff --git a/ui/components/ui/select/index.ts b/ui/components/ui/select/index.ts deleted file mode 100644 index 730dd10551..0000000000 --- a/ui/components/ui/select/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -export { - Select, - SelectContent, - SelectGroup, - SelectItem, - SelectLabel, - SelectScrollDownButton, - SelectScrollUpButton, - SelectSeparator, - SelectTrigger, - SelectValue, -} from "./Select"; diff --git a/ui/components/ui/table/data-table-pagination.tsx b/ui/components/ui/table/data-table-pagination.tsx index 431837e56c..965c066efd 100644 --- a/ui/components/ui/table/data-table-pagination.tsx +++ b/ui/components/ui/table/data-table-pagination.tsx @@ -10,15 +10,16 @@ import Link from "next/link"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; import { useState } from "react"; +import { getPaginationInfo } from "@/lib"; +import { MetaDataProps } from "@/types"; + import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, -} from "@/components/ui/select"; -import { getPaginationInfo } from "@/lib"; -import { MetaDataProps } from "@/types"; +} from "../select/Select"; interface DataTablePaginationProps { metadata?: MetaDataProps;