Skip to content

Commit

Permalink
refactor: change button variants of logout modal
Browse files Browse the repository at this point in the history
  • Loading branch information
KimiaMontazeri committed Nov 28, 2023
1 parent 9a88e56 commit 42dc739
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/components/logout-modal/logout-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ const LogoutModal = ({ visibility, onVisibilityChange }) => {
<DialogContentText>Are you sure you want to logout?</DialogContentText>
</DialogContent>
<DialogActions>
<Button onClick={onVisibilityChange} variant="outlined">
Cancel
</Button>
<Button onClick={handleLogout} color="error">
<Button onClick={onVisibilityChange}>Cancel</Button>
<Button onClick={handleLogout} color="error" variant="contained">
Logout
</Button>
</DialogActions>
Expand Down

0 comments on commit 42dc739

Please sign in to comment.