mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-19 05:07:54 +00:00
651fcfce43
This moves the onMessage handler out of useEffect and it fixes appending the the array. The .unshift() method does not work well using React.useState. It would prepend, but since it would not change the array (it adds an item to the array), the update would not propagate. |
||
---|---|---|
.. | ||
public | ||
src | ||
.dockerignore | ||
.env | ||
.prettierignore | ||
.prettierrc.json | ||
Dockerfile-devel | ||
Makefile | ||
package.json | ||
tsconfig.json | ||
yarn.lock |