mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:57:20 +00:00
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 = (
|
||||
<Trans>
|
||||
{'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>
|
||||
);
|
||||
|
||||
@ -24,8 +26,8 @@ export const ErrorFallback: FC<FallbackProps> = ({ error }) => {
|
||||
title={t('Render Failed')}
|
||||
subTitle={subTitle}
|
||||
extra={[
|
||||
<Button type="primary" key="feedback">
|
||||
<a href="https://github.com/nocobase/nocobase/issues">{t('Feedback')}</a>
|
||||
<Button type="primary" key="feedback" href="https://github.com/nocobase/nocobase/issues" target="_blank">
|
||||
{t('Feedback')}
|
||||
</Button>,
|
||||
<Button key="try" onClick={resetBoundary}>
|
||||
{t('Try again')}
|
||||
|
Loading…
Reference in New Issue
Block a user