fix: reset error state on Enka Network load completion

This commit is contained in:
2026-01-26 21:49:25 +07:00 Unverified
parent db80e8bed5
commit d765124706
+4 -1
View File
@@ -89,7 +89,10 @@ export function EnkaBrowser({
fill
objectFit="contain"
title="Enka Network"
onLoadingComplete={() => setReady(true)}
onLoad={() => {
setReady(true);
setError(false);
}}
onError={() => setError(true)}
/>
</div>