Issue
The library can not be used in Nextjs app due to window error, this is because the pages are rendered on the server where window isnt available. With this fix, developer will be able to use it when he is sure window object is available i.e using inside useEffect hook.
Issue The library can not be used in Nextjs app due to window error, this is because the pages are rendered on the server where window isnt available. With this fix, developer will be able to use it when he is sure window object is available i.e using inside useEffect hook.