chore(core): adjust migration text (#7802)

This commit is contained in:
EYHN
2024-08-09 11:50:52 +08:00
committed by GitHub
parent 450106ea54
commit 7efc87b6d3
3 changed files with 18 additions and 12 deletions

View File

@@ -66,8 +66,14 @@ export const ExplorerMigrationFavorites = () => {
const handleClickHelp = useCallback(() => {
openConfirmModal({
title: t['com.affine.rootAppSidebar.migration-data.help'](),
description:
t['com.affine.rootAppSidebar.migration-data.help.description'](),
description: (
<Trans
i18nKey="com.affine.rootAppSidebar.migration-data.help.description"
components={{
b: <b className={styles.descriptionHighlight} />,
}}
/>
),
confirmText: t['com.affine.rootAppSidebar.migration-data.help.confirm'](),
confirmButtonOptions: {
variant: 'primary',