|
|
@@ -23,6 +23,7 @@ const UnsavedAlertDialog = (): JSX.Element => {
|
|
|
|
|
|
const alertUnsavedWarningByNextRouter = useCallback(() => {
|
|
|
if (isEnabledUnsavedWarning) {
|
|
|
+ // see: https://zenn.dev/qaynam/articles/c4794537a163d2
|
|
|
// eslint-disable-next-line no-alert
|
|
|
const answer = window.confirm(t('page_edit.changes_not_saved'));
|
|
|
if (!answer) {
|