Fix this sending ghost requests

This commit is contained in:
2026-02-01 18:45:46 -07:00
parent 749ebc6162
commit 556ccd521d

View File

@@ -95,6 +95,7 @@ export default function BerryDashChatroom () {
.map(id => `"${id}"`) .map(id => `"${id}"`)
.join(',') .join(',')
if (notInAllIds.length != 0) {
;(async () => { ;(async () => {
const result = await axios.get( const result = await axios.get(
`/api/berrydash/icon-marketplace/icon?ids=[${notInAllIds}]` `/api/berrydash/icon-marketplace/icon?ids=[${notInAllIds}]`
@@ -116,6 +117,7 @@ export default function BerryDashChatroom () {
]) ])
} }
})() })()
}
}, [messages]) }, [messages])
return ( return (