Skip to content

Commit

Permalink
fix: use regular buttons in dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Jul 2, 2024
1 parent 13a79af commit 55201a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ConfirmDialog/ConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@ export function ConfirmDialog({
</Content>
<Actions>
{!hideCancelButton ? (
<Button onClick={onReject} fullWidth size="large" variant="contained" color="primary">
<Button onClick={onReject} fullWidth variant="contained" color="primary">
{cancelButtonText}
</Button>
) : null}
{!hideConfirmButton ? (
<LoadingButton
onClick={handleApprove}
disabled={disableConfirmButton}
size="large"
loading={loading}
color={confirmColor}
variant="contained"
Expand Down

0 comments on commit 55201a5

Please sign in to comment.