在EducationBlock中,出现以下错误:
react-dom.development.js:56 Uncaught (in promise) Invariant Violation: 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, or you might have mixed up default and named imports.
Check the render method of `EducationBlock`.
这就是我的导入方式
import EducationBlock from './EducationBlock';
这就是我的出口方式
class EducationBlock extends Component {...}
export default withStyles(styles)(EducationBlock);