From a1dc238f824139427a038e1a8228902cb1dea415 Mon Sep 17 00:00:00 2001 From: William Moraes Date: Sun, 2 Jun 2024 13:29:57 -0300 Subject: [PATCH] fix: :bug: adjust shelter type in ShelterTable --- .../user/shelters/_components/shelters-list-table/columns.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/user/shelters/_components/shelters-list-table/columns.tsx b/src/app/user/shelters/_components/shelters-list-table/columns.tsx index c2c0930..df6a541 100644 --- a/src/app/user/shelters/_components/shelters-list-table/columns.tsx +++ b/src/app/user/shelters/_components/shelters-list-table/columns.tsx @@ -2,11 +2,11 @@ import Link from "next/link"; import { type z } from "zod"; -import { type shelterSchema } from "~/schemas/shelter"; +import { type apiShelterSchema } from "~/schemas/shelter"; import { type ColumnDef } from "@tanstack/react-table"; import { FiEdit } from "react-icons/fi"; -export type ShelterTable = z.infer; +export type ShelterTable = z.infer; export const columns: ColumnDef[] = [ {