upgrade blitz@0.40.0-canary.5
This commit is contained in:
parent
45ca5cae86
commit
9248e5fbbe
@ -2,7 +2,7 @@ import { BlitzPage, GetStaticPaths, GetStaticProps, Head, useRouter } from "blit
|
||||
import ErrorPage from "next/error";
|
||||
|
||||
import type { Post } from "integrations/datocms";
|
||||
import { getAllPostsWithSlug, getPostAndMorePosts } from "integrations/datocms";
|
||||
import { getAllPostsWithSlug, getPostAndMorePosts, markdownToHtml } from "integrations/datocms";
|
||||
|
||||
type Props = {
|
||||
post: Post;
|
||||
@ -63,7 +63,7 @@ export const getStaticProps: GetStaticProps = async ({ params, preview = false }
|
||||
}
|
||||
|
||||
const data = await getPostAndMorePosts(params.slug, preview);
|
||||
const content = /*await markdownToHtml(data.post.content || "");*/ "";
|
||||
const content = await markdownToHtml(data.post.content || "");
|
||||
|
||||
return {
|
||||
props: {
|
||||
|
6
blitz-env.d.ts
vendored
Normal file
6
blitz-env.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/types/global" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
1518
package-lock.json
generated
1518
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"engines": {
|
||||
"node": "15"
|
||||
"node": ">=14"
|
||||
},
|
||||
"prisma": {
|
||||
"schema": "db/schema.prisma"
|
||||
@ -53,7 +53,7 @@
|
||||
"@tailwindcss/typography": "0.4.1",
|
||||
"@twilio/voice-sdk": "2.0.1",
|
||||
"awesome-phonenumber": "2.57.0",
|
||||
"blitz": "0.38.6",
|
||||
"blitz": "0.40.0-canary.5",
|
||||
"clsx": "1.1.1",
|
||||
"got": "11.8.2",
|
||||
"jotai": "1.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user