Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for “Image” #234

Open
brogr opened this issue Nov 18, 2024 · 1 comment
Open

Feedback for “Image” #234

brogr opened this issue Nov 18, 2024 · 1 comment

Comments

@brogr
Copy link

brogr commented Nov 18, 2024

Currently, the documentation gives this example for Next.js:

import dynamic from "next/dynamic";
 
const Image = dynamic(
  () => import("@samvera/clover-iiif").then((Clover) => Clover.Image),
  {
    ssr: false,
  },
);

That doesn't work. Correct would be:

const Image = dynamic(
  () => import("@samvera/clover-iiif/image").then((Image) => Image),
  {
    ssr: false,
  },
);
@mathewjordan
Copy link
Member

Thank you @brogr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants