我正在使用 react 和 react-chat-engine 开发聊天应用程序。一切顺利,但我登录它给这个
Fetch Chats Error TypeError: Cannot read property 'publicKey' of null
at 2.b037ca4c.chunk.js:sourcemap:2
at t.n.setActiveChat (2.b037ca4c.chunk.js:sourcemap:2)
at t.n.onGetChats (2.b037ca4c.chunk.js:sourcemap:2)
at 2.b037ca4c.chunk.js:sourcemap:2
at 2.b037ca4c.chunk.js:sourcemap:2