Skip to content

Commit 7f77a04

Browse files
authored
feat: Use destructive button when deleting breakpoints (#5198)
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
1 parent 8c91170 commit 7f77a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/builder/app/builder/features/breakpoints/confirmation-dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const ConfirmationDialog = ({
2424
onClick={() => {
2525
onConfirm();
2626
}}
27+
color="destructive"
2728
>
2829
Delete
2930
</Button>

0 commit comments

Comments
 (0)