React: dispatch is not a function

1. Question

clipboard.png

2.

clipboard.png

clipboard.png

3. Expect the dispatch printed out by
to be a simple (e) {return t.dispatch (liftAction (e)), e c)), e}
. What"s the problem?

Mar.19,2022


your dispatch is obviously passed into this method. Why don't you call dispatch to have a look at the debugging output?

if (result) {
  console.log(dispatch) // 
  dispatch(changeLogin())
}
...
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-1b34c76-2bf54.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-1b34c76-2bf54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?