Skip to content

Commit dc5ae7d

Browse files
authored
fix: document not defined (#228)
1 parent 90e7c4b commit dc5ae7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/fields/Json/Show.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React, { memo } from "react";
55
import ShowFieldWrapper from "@/features/fields/components/FieldWrapper/ShowFieldWrapper";
66
import dynamic from "next/dynamic";
77

8-
const DynamicReactJson = dynamic(import("react-json-view"), { ssr: false });
8+
const DynamicReactJson = dynamic(() => import("react-json-view"), { ssr: false });
99

1010
const Show = ({ field }: { field: Field }) => {
1111
let value;

0 commit comments

Comments
 (0)