我试图使用redux将用户的当前位置设置为状态,但是每当我尝试时,我都会得到错误的Actions must be plain objects. Use custom middleware for async actions。无论我看什么地方,它都说这是一个错误,没有雷鸣,但正如你可以从我的store.js下面看到,我有applyMiddleware(thunk)在我的商店。下面是与此操作相关的所有文件:import { createStore, applyMiddleware, compose } from 'redux';
import thunk fro