Fix this sending ghost requests
This commit is contained in:
@@ -95,6 +95,7 @@ export default function BerryDashChatroom () {
|
||||
.map(id => `"${id}"`)
|
||||
.join(',')
|
||||
|
||||
if (notInAllIds.length != 0) {
|
||||
;(async () => {
|
||||
const result = await axios.get(
|
||||
`/api/berrydash/icon-marketplace/icon?ids=[${notInAllIds}]`
|
||||
@@ -116,6 +117,7 @@ export default function BerryDashChatroom () {
|
||||
])
|
||||
}
|
||||
})()
|
||||
}
|
||||
}, [messages])
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user