mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Update page auth HOF type definitions
Added vercel config, update packages
This commit is contained in:
@@ -31,7 +31,7 @@ const Create: NextPage<CreateBeerPageProps> = ({ breweries, types }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export const getServerSideProps = withPageAuthRequired(async () => {
|
||||
export const getServerSideProps = withPageAuthRequired<CreateBeerPageProps>(async () => {
|
||||
const breweryPosts = await getAllBreweryPosts();
|
||||
const beerTypes = await DBClient.instance.beerType.findMany();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user