File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 55import { getBlueprintById } from "@/blueprints/getBlueprints" ;
66import { TransferRestrictions } from "@hypercerts-org/sdk" ;
77import { Alert , AlertTitle , AlertDescription } from "@/components/ui/alert" ;
8+ import { InfoSection } from "@/components/global/sections" ;
89
910export default async function NewHypercertPage ( {
1011 searchParams,
@@ -18,7 +19,13 @@ export default async function NewHypercertPage({
1819 const fetchedBlueprint = await getBlueprintById ( parsedId ) ;
1920
2021 if ( ! fetchedBlueprint ) {
21- return < div > Blueprint not found</ div > ;
22+ return (
23+ < main className = "flex flex-col p-8 md:px-16 pt-8 pb-24 space-y-4 flex-1 container max-w-screen-lg" >
24+ < InfoSection >
25+ The blueprint you are trying to use does not exist.
26+ </ InfoSection >
27+ </ main >
28+ ) ;
2229 }
2330
2431 formValues = fetchedBlueprint . form_values as HypercertFormValues ;
Original file line number Diff line number Diff line change 33 HypercertMintingForm ,
44} from "@/components/hypercert/hypercert-minting-form" ;
55import { getBlueprintById } from "@/blueprints/getBlueprints" ;
6+ import { InfoSection } from "@/components/global/sections" ;
67
78export default async function NewHypercertPage ( {
89 searchParams,
@@ -18,7 +19,13 @@ export default async function NewHypercertPage({
1819 const fetchedBlueprint = await getBlueprintById ( parsedId ) ;
1920
2021 if ( ! fetchedBlueprint ) {
21- return < div > Blueprint not found</ div > ;
22+ return (
23+ < main className = "flex flex-col p-8 md:px-16 pt-8 pb-24 space-y-4 flex-1 container max-w-screen-lg" >
24+ < InfoSection >
25+ The blueprint you are trying to use does not exist.
26+ </ InfoSection >
27+ </ main >
28+ ) ;
2229 }
2330
2431 formValues = {
You can’t perform that action at this time.
0 commit comments