Prettier format pending files

This commit is contained in:
Builder.io 2025-09-29 00:59:16 +00:00
parent 0eb081aa95
commit 38216dc1c2
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ export default function Admin() {
setDemoProfiles([]);
}
fetch("/api/featured-studios")
.then((r) => r.ok ? r.json() : [])
.then((r) => (r.ok ? r.json() : []))
.then((data) => {
if (Array.isArray(data) && data.length) setStudios(data);
})

View file

@ -184,7 +184,7 @@ export default function GameDevelopment() {
useEffect(() => {
fetch("/api/featured-studios")
.then((r) => (r.ok ? r.json() : []))
.then((data) => Array.isArray(data) ? setStudios(data) : undefined)
.then((data) => (Array.isArray(data) ? setStudios(data) : undefined))
.catch(() => undefined);
}, []);