Skip to content

Commit

Permalink
fix: document not defined (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Nov 15, 2021
1 parent 90e7c4b commit dc5ae7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fields/Json/Show.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import React, { memo } from "react";
import ShowFieldWrapper from "@/features/fields/components/FieldWrapper/ShowFieldWrapper";
import dynamic from "next/dynamic";

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

const Show = ({ field }: { field: Field }) => {
let value;
Expand Down

1 comment on commit dc5ae7d

@vercel
Copy link

@vercel vercel bot commented on dc5ae7d Nov 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.