TaskQueue: Error with task : Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in.
Check the render method of XXXX
.
解决方案:去掉{}
example:
//
before:
import {Popover} from “./Popover”;
after:✔️
import Popover from “./Popover”;