mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 23:59:45 +08:00
feat(ErrorBlock): add centered modal display for error details
- Updated the ErrorBlock component to include a centered modal for displaying error details, enhancing the user interface and accessibility of error information.
This commit is contained in:
parent
1b86997f14
commit
1735a9efb6
@ -181,6 +181,7 @@ ${t('error.stack')}: ${error.stack || 'N/A'}
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
|
centered
|
||||||
title={t('error.detail')}
|
title={t('error.detail')}
|
||||||
open={open}
|
open={open}
|
||||||
onCancel={onClose}
|
onCancel={onClose}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user