Update Avatar component in StyleGuidePage: Modify Avatar usage to handle null image source, ensuring fallback functionality works correctly. Clean up ProfileForm by removing unused health and experience percentage calculations for improved code clarity.

This commit is contained in:
Julien Froidefond
2025-12-12 16:45:55 +01:00
parent 99a475736b
commit 880e96d6e4
2 changed files with 1 additions and 11 deletions

View File

@@ -377,7 +377,7 @@ export default function StyleGuidePage() {
<h3 className="text-lg text-gray-300 mb-3">
Sans image (fallback)
</h3>
<Avatar username="John Doe" size="lg" />
<Avatar src={null} username="John Doe" size="lg" />
</div>
</div>
</Card>