A website template using the MERN stack. It is geared towards Persistent Browser Based Games (think neopets), but is flexible enough for a number of different uses.
zlib License
68
stars
9
forks
source link
Alert after publishing a news article not always showing. #30
This line for some reason fails, and the alert on the next line never fires. This is due to "current" being null at some point. I can't reproduce the bug reliably, but the bug is definitely there somewhere.
It may have something to do with the way refs work.
https://github.com/krgamestudios/MERN-template/blob/29f0dbb1ca73b4264efb0a100ba840c2c701bce2/client/pages/administration/panels/news-publisher.jsx#L24
This line for some reason fails, and the alert on the next line never fires. This is due to "current" being null at some point. I can't reproduce the bug reliably, but the bug is definitely there somewhere.
It may have something to do with the way refs work.