Error when using decorator in react project

the following compilation error is reported when using decorators such as connect and withRouter in the react project

Failed to compile.

. / src/container/register/register.js
Module build failed: TypeError: Cannot read property "type" of undefined

at Array.some (<anonymous>)
at Array.forEach (<anonymous>)



clipboard.png

babel plugin

clipboard.png

May.22,2021

how did the subject solve it later?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ebee21-2a0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ebee21-2a0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?