This commit is contained in:
parent
d61a2dc385
commit
04b5c0c94e
|
|
@ -1,5 +1,6 @@
|
|||
// app/utility/runtime-env-provider.tsx
|
||||
import { headers, useServerInsertedHTML } from "next/headers";
|
||||
import { headers } from "next/headers"
|
||||
import { useServerInsertedHTML } from "next/navigation" // ✅ 改这里
|
||||
import React from "react";
|
||||
|
||||
export function RuntimeEnvProvider({ children }: { children: React.ReactNode }) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue