diff --git a/src/pages/NewGame.tsx b/src/pages/NewGame.tsx index b954df2..a2d8b9f 100644 --- a/src/pages/NewGame.tsx +++ b/src/pages/NewGame.tsx @@ -166,7 +166,7 @@ export default function NewGame() { if (!finalAvatar) { try { const seed = Math.random().toString(36).substring(7); - const url = `https://api.dicebear.com/9.x/bottts-neutral/svg?seed=${seed}&backgroundColor=transparent`; + const url = `https://api.dicebear.com/9.x/bottts-neutral/svg?seed=${seed}`; const response = await fetch(url); const svgText = await response.text(); finalAvatar = `data:image/svg+xml;utf8,${encodeURIComponent(svgText)}`; diff --git a/src/pages/Players.tsx b/src/pages/Players.tsx index d0abee9..c70578d 100644 --- a/src/pages/Players.tsx +++ b/src/pages/Players.tsx @@ -120,7 +120,7 @@ export default function Players() { // Seed aléatoire const seed = Math.random().toString(36).substring(7); // Utilisation du style "bottts-neutral" - const url = `https://api.dicebear.com/9.x/bottts-neutral/svg?seed=${seed}&backgroundColor=transparent`; + const url = `https://api.dicebear.com/9.x/bottts-neutral/svg?seed=${seed}`; const response = await fetch(url); const svgText = await response.text();