An update to null inside a test was not wrapped in act(…)

后端 未结 0 1706
难免孤独
难免孤独 2021-02-14 08:01

When i run these Test i\'m getting act(() => { problem.

If i comment the Test 2 it works so i\'m not sure if this issue is in Test 2 or Test

相关标签:
回答
  • 消灭零回复
提交回复
热议问题