Skip to content

Commit

Permalink
Merge pull request #41 from concord-consortium/fix-confirm-dialog-text
Browse files Browse the repository at this point in the history
fix: Copy/paste error with main menu button confirm dialog [PT-187361590]
  • Loading branch information
dougmartin authored Apr 5, 2024
2 parents 8ca1b5b + 9374355 commit b161142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export const App = () => {
};

const handleReturnToMainMenu = () => {
if (confirm("Are you sure you want to reset?\n\nAny changes you have made will be lost.")) {
if (confirm("Are you sure you want to go back to the main menu?\n\nAny changes you have made will be lost.")) {
setGraph({nodes: [], edges: []});
setViewMode(undefined);
}
Expand Down

0 comments on commit b161142

Please sign in to comment.