Skip to content

Commit

Permalink
botw-schedule - add danger to confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
dcordz committed Nov 14, 2024
1 parent cc4b547 commit 335069a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const BillOfTheWeekCreator_: React.FC<IProps> = ({ bills, bill, user, tabKey = E

if (isCreatorDirty && newTabKey === ETab.Schedule) {
const isConfirmed = window.confirm(
"Switching to the scheduler will remove all unsaved data from the Bill Creator. Continue?",
"DANGER! Switching to the scheduler will remove all unsaved data from the Bill Creator. Only saved bills can be scheduled. Continue?",
);
if (isConfirmed) {
params.add("tabKey", newTabKey);
Expand Down

0 comments on commit 335069a

Please sign in to comment.