fix(ErrorFallback): fix style of Feedback button
This commit is contained in:
parent
fa3127e467
commit
869f3001e4
@ -12,7 +12,9 @@ export const ErrorFallback: FC<FallbackProps> = ({ error }) => {
|
|||||||
const subTitle = (
|
const subTitle = (
|
||||||
<Trans>
|
<Trans>
|
||||||
{'This is likely a NocoBase internals bug. Please open an issue at '}
|
{'This is likely a NocoBase internals bug. Please open an issue at '}
|
||||||
<Link href="https://github.com/nocobase/nocobase/issues">here</Link>
|
<Link href="https://github.com/nocobase/nocobase/issues" target="_blank">
|
||||||
|
here
|
||||||
|
</Link>
|
||||||
</Trans>
|
</Trans>
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -24,8 +26,8 @@ export const ErrorFallback: FC<FallbackProps> = ({ error }) => {
|
|||||||
title={t('Render Failed')}
|
title={t('Render Failed')}
|
||||||
subTitle={subTitle}
|
subTitle={subTitle}
|
||||||
extra={[
|
extra={[
|
||||||
<Button type="primary" key="feedback">
|
<Button type="primary" key="feedback" href="https://github.com/nocobase/nocobase/issues" target="_blank">
|
||||||
<a href="https://github.com/nocobase/nocobase/issues">{t('Feedback')}</a>
|
{t('Feedback')}
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button key="try" onClick={resetBoundary}>
|
<Button key="try" onClick={resetBoundary}>
|
||||||
{t('Try again')}
|
{t('Try again')}
|
||||||
|
Loading…
Reference in New Issue
Block a user