1
0
Fork 0
mirror of https://gitlab.com/MrFry/qmining-page synced 2025-04-01 20:23:44 +02:00

React reload fix

This commit is contained in:
mrfry 2021-04-21 13:53:03 +02:00
parent 21fdbb57a3
commit 42edd56d00
2 changed files with 13 additions and 13 deletions
src/pages

View file

@ -151,7 +151,7 @@ export default function Index({ globalData }) {
return res.json()
})
.then((res) => {
setNews(res.news)
setNews(updateForumPost(news, postKey, res.postData))
})
}}
onCommentReact={({ path, reaction, isDelete }) => {