🐜 fix(www): Fix the random avatars

This commit is contained in:
Wanjohi
2025-01-10 23:23:18 +03:00
parent 4df031d1bb
commit a3ff8bff9f
2 changed files with 4 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ export default component$(() => {
maskImage: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><circle r="0.5" cx="0.5" cy="0.5"/></svg>'),url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><circle r="0.6" cx="1.1" cy="0.5"/></svg>')`
}}
>
<Avatar name={(key * Math.floor(100 * Math.random())).toString()} />
<Avatar name={((key + 1) * Math.floor(100 * Math.random())).toString()} />
</div>
</div>
))}