mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +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 (
|
||||
<Modal
|
||||
centered
|
||||
title={t('error.detail')}
|
||||
open={open}
|
||||
onCancel={onClose}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user