Open ignacio-dev opened 2 years ago
Face the same error, it's a known issue mentioned in rollup/plugin#481.
My hacky sollution is:
import ReactDatetimeClass from "react-datetime";
const DateTime = ReactDatetimeClass.default ?? ReactDatetimeClass;
I'm Submitting a ...
Steps to Reproduce
Expected Results
Datetime to render with no errors
Actual Results
App crashes, console shows:
Error: Minified React error #130;
Minimal Reproduction of the Problem
Other Information (e.g. stacktraces, related issues, suggestions how to fix)