scaffold create/edit beer form, scaffold beer page

This commit is contained in:
Aaron William Po
2023-01-23 20:13:25 -05:00
parent f08731de17
commit 972846f5a8
29 changed files with 776 additions and 70 deletions

View File

@@ -2,10 +2,10 @@ import { GetServerSideProps, NextPage } from 'next';
import Link from 'next/link';
import getAllBreweryPosts from '@/services/BreweryPost/getAllBreweryPosts';
import GetAllBreweryPostsQueryResult from '@/services/BreweryPost/types/BreweryPostQueryResult';
import BreweryPostQueryResult from '@/services/BreweryPost/types/BreweryPostQueryResult';
interface BreweryPageProps {
breweryPosts: GetAllBreweryPostsQueryResult[];
breweryPosts: BreweryPostQueryResult[];
}
const BreweryPage: NextPage<BreweryPageProps> = ({ breweryPosts }) => {