BeerPostQueryResult type now inferred from zod schema

This commit is contained in:
Aaron William Po
2023-02-20 14:26:58 -05:00
parent 4cd2ab476f
commit c818dc6525
16 changed files with 75 additions and 58 deletions

View File

@@ -1,7 +1,7 @@
import Link from 'next/link';
import { FC } from 'react';
import Image from 'next/image';
import BeerPostQueryResult from '@/services/BeerPost/schema/BeerPostQueryResult';
import { BeerPostQueryResult } from '@/services/BeerPost/schema/BeerPostQueryResult';
const BeerCard: FC<{ post: BeerPostQueryResult }> = ({ post }) => {
return (