Skip to content

Commit 7104d90

Browse files
committed
Fix: prevent InfoDialog from flickering to blue variant on close
1 parent cec1303 commit 7104d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/features/infoDialogSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const infoDialogSlice = createSlice({
3232
state.isOpen = false;
3333
state.title = '';
3434
state.message = '';
35-
state.variant = 'info';
35+
state.variant = state.variant || 'info';
3636
state.showCloseButton = true;
3737
},
3838
},

0 commit comments

Comments
 (0)