react-custom-scrollbars-2 icon indicating copy to clipboard operation
react-custom-scrollbars-2 copied to clipboard

fix: Vite prod build error "React is not defined"

Open rixcian opened this issue 2 years ago • 0 comments

Need to directly import React into the Scrollbars component, because the lib in the Vite production build is returning the "React is not defined" error.

Fixes #23

rixcian avatar Jun 01 '22 11:06 rixcian