diff --git a/packages/frontend/core/src/components/affine/affine-error-boundary/error-basic/error-detail.tsx b/packages/frontend/core/src/components/affine/affine-error-boundary/error-basic/error-detail.tsx index c2a8c2ad0c269..43a9547a441c1 100644 --- a/packages/frontend/core/src/components/affine/affine-error-boundary/error-basic/error-detail.tsx +++ b/packages/frontend/core/src/components/affine/affine-error-boundary/error-basic/error-detail.tsx @@ -113,7 +113,11 @@ export const ErrorDetail: FC = props => { className={styles.actionButton} >
- {t['com.affine.error.hide-error']()} + + {showStack + ? t['com.affine.error.hide-error']() + : t['com.affine.error.show-error']()} +