mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(web/context): strict undefined check for progress
This commit is contained in:
@@ -75,7 +75,7 @@ const ContextButton: React.FC<{
|
||||
<ReactMarkdown>{button.description}</ReactMarkdown>
|
||||
</Text>
|
||||
)}
|
||||
{button?.progress && (
|
||||
{button.progress !== undefined && (
|
||||
<Progress value={button.progress} size="sm" color={button.colorScheme || 'dark.3'} />
|
||||
)}
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user