mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
better unsaved changes error message (#2734)
This commit is contained in:
committed by
Kim Gardner
parent
08ead49629
commit
c109188efe
@@ -20,7 +20,7 @@ class NavigationWarningContainer extends React.Component<Props> {
|
||||
const warningMessage = getMessage(
|
||||
props.localeBundles,
|
||||
"configure-unsavedInputWarning",
|
||||
"You have unsaved input. Are you sure you want to leave this page?"
|
||||
"You have unsaved changes. Are you sure you want to continue?"
|
||||
);
|
||||
|
||||
this.removeTransitionHook = props.router.addTransitionHook(() =>
|
||||
|
||||
Reference in New Issue
Block a user