Common js error while working in remix js
SyntaxError: Named export 'HuePicker' not found. The requested module 'react-color' is a CommonJS module, which may not support all module.exports as named exports.
What can be the work around?
I am using
```
import pkg from 'react-color';
const { HuePicker } = pkg;
```
but getting error