Skip to content

Commit

Permalink
refactor: ♻️ move data-table component to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
willMoraes committed May 29, 2024
1 parent 1365ec5 commit 75ac950
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/app/user/shelters/_components/data-table/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./data-table";
export * from "./columns";
7 changes: 5 additions & 2 deletions src/app/user/shelters/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

import { api } from "~/trpc/react";

import { type ShelterTable, columns } from "./columns";
import { DataTable } from "./data-table";
import {
type ShelterTable,
columns,
DataTable,
} from "./_components/data-table";
import Link from "next/link";
import { Skeleton } from "~/components/ui/skeleton";

Expand Down

0 comments on commit 75ac950

Please sign in to comment.