Expected an assignment or function call and instead saw an expression no-unused-expressions
中文翻譯為:期望一個賦值或函數調用,卻看到一個表達式未使用表達式
我的問題

賦值 錯寫成了 等式;
Uncaught Invariant Violation: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.
未捕獲的不變沖突:對象不能作為一個React子對象(found: [object Promise])。如果您打算呈現一組子元素,請使用數組。