I've search here for topics about gatsby-plugin-prismic-previews not working but it's not the same issue I got recently.
I followed all instruction the gatsby-plugin-prismic-previews v5.3.1. When I clicked the "View" icon, all i get is the /preview page in Gatsby like "Loading preview.."
The preview.jsx code is this:
import * as React from "react";
import { withPrismicPreviewResolver } from "gatsby-plugin-prismic-previews";
const PreviewPage = () => {
return (
<div>
<h1>Loading preview…</h1>
</div>
);
};
export default withPrismicPreviewResolver(PreviewPage);
Is there something wrong?
I'm using this for a client project using Prismic for CMS.