add2cal / add-to-calendar-button

Reliably create beautiful Add to Calendar Buttons, where people can add events to their calendars. Without the hustle and unsupported cases.
https://add-to-calendar-button.com
Other
1.36k stars 114 forks source link

[Bug]: Button not visible. #592

Closed Sahil-Sharma-23 closed 7 months ago

Sahil-Sharma-23 commented 7 months ago

What happened?

The 'add to calendar button' for NextJS project just does not appear on the screen. Tried all the ways possible mentioned in the doc, still the button is not visible.

How to reproduce?

Follow the docs for NextJS installation. https://add-to-calendar-button.com/use-with-nextjs

Screenshots & more

image

System & Environment

  1. Device and OS: Windows 10 Pro
  2. Browser: Chrome
jekuer commented 7 months ago

Have a look at https://stackblitz.com/edit/add-to-calendar-button-next-js This should explain a lot. I guess you are not using "use client"

Sahil-Sharma-23 commented 7 months ago

Yes. Thanks. My issue is resolved. Also a suggestion, You can update the doc on website and mention that this component needs to be implemented in a client component.