refactor: application dependency management (#2363)
This commit is contained in:
@@ -113,7 +113,7 @@ const SuperNoteConverter = ({
|
||||
}, [isSeamlessConvert, confirmConvert])
|
||||
|
||||
const convertAsIs = useCallback(async () => {
|
||||
const confirmed = await application.alertService.confirm(
|
||||
const confirmed = await application.alerts.confirm(
|
||||
spaceSeparatedStrings(
|
||||
"This option is useful if you want to edit the note's content which is in Super's JSON format directly.",
|
||||
'This format is not human-readable. If you want to convert the note to a human-readable format, please use the "Convert" option instead.',
|
||||
|
||||
@@ -60,7 +60,7 @@ export const SuperNoteImporter: FunctionComponent<Props> = ({ note, application,
|
||||
}, [isSeamlessConvert, confirmConvert])
|
||||
|
||||
const convertAsIs = useCallback(async () => {
|
||||
const confirmed = await application.alertService.confirm(
|
||||
const confirmed = await application.alerts.confirm(
|
||||
spaceSeparatedStrings(
|
||||
"This option is useful if you switched this note's type from Super to another plaintext-based format, and want to return to Super.",
|
||||
'To use this option, the preview in the convert window should display a language format known as JSON.',
|
||||
|
||||
Reference in New Issue
Block a user