mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 16:07:01 +00:00
Removed runtime parameter
This commit is contained in:
parent
d971821871
commit
48c8579ba4
@ -9,8 +9,6 @@ import type { Metadata } from 'next';
|
||||
import { draftMode } from 'next/headers';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const runtime = draftMode().isEnabled ? 'node' : 'edge';
|
||||
|
||||
export async function generateMetadata({
|
||||
params
|
||||
}: {
|
||||
|
@ -7,8 +7,6 @@ import { Metadata } from 'next';
|
||||
import { draftMode } from 'next/headers';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const runtime = draftMode().isEnabled ? 'node' : 'edge';
|
||||
|
||||
export async function generateMetadata({
|
||||
params
|
||||
}: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user