RAFManager icon indicating copy to clipboard operation
RAFManager copied to clipboard

fix(use with next.js)

Open IMSike opened this issue 5 years ago • 0 comments

When the repo is using with next.js, it generate an error when code is execute on server side because "windows" is undefined on server side. Just encapsulate it in conditional to know if we are on server or not to fix it.

IMSike avatar Oct 06 '20 13:10 IMSike