fix: convert prize value to number for comparison
- Fix TypeScript error where prize.value (string) was compared with number - Use Number() conversion before comparison 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
70f61fca88
commit
34e0bb1f1a
|
|
@ -260,7 +260,7 @@ export default function ClientPage() {
|
|||
<p className="text-sm font-medium text-gray-900">
|
||||
{prizeConfig.name}
|
||||
</p>
|
||||
{ticket.prize?.value && ticket.prize.value > 0 && (
|
||||
{ticket.prize?.value && Number(ticket.prize.value) > 0 && (
|
||||
<p className="text-xs text-gray-500">
|
||||
{ticket.prize.value}€
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user