Fix this sending ghost requests

This commit is contained in:
Lncvrt committed 2026-02-01 18:46:30 -07:00
1 parent 749ebc6162
commit 556ccd521d
1 file changed
+2
@@ -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 (