Skip to content

Commit

Permalink
fix(ice-server): disable add
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Nov 3, 2023
1 parent 1ceb8b4 commit 15fe4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/website/Settings/ICEServer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ICEServer() {
<Box display="flex" justifyContent="space-between">
<FormLabel>ICE servers</FormLabel>
<Box display="flex" gap={2}>
<Button onClick={() => setServers.push({urls: ''})} colorScheme="green" size="xs" disabled={servers.length >= MAX_ICE_SERVERS}>Add</Button>
<Button onClick={() => setServers.push({urls: ''})} colorScheme="green" size="xs" isDisabled={servers.length >= MAX_ICE_SERVERS}>Add</Button>
<Button onClick={restoreDefault} size="xs">Restore default</Button>
</Box>
</Box>
Expand Down

0 comments on commit 15fe4c3

Please sign in to comment.