mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Remove inline error banner, use toast only for update errors
This commit is contained in:
parent
f1099a24f7
commit
6dcf22601b
1 changed files with 0 additions and 9 deletions
|
|
@ -60,7 +60,6 @@ export default function HashicorpVault() {
|
|||
const {
|
||||
mutate: updateConfig,
|
||||
isPending: isUpdating,
|
||||
error: updateError,
|
||||
} = useUpdateHashicorpVaultConfig(accessToken);
|
||||
|
||||
const schema = data?.field_schema;
|
||||
|
|
@ -129,14 +128,6 @@ export default function HashicorpVault() {
|
|||
</Typography.Paragraph>
|
||||
)}
|
||||
|
||||
{updateError && (
|
||||
<Alert
|
||||
type="error"
|
||||
message="Could not update Hashicorp Vault configuration"
|
||||
description={updateError instanceof Error ? updateError.message : undefined}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Form layout="vertical" initialValues={values} onFinish={handleSave}>
|
||||
{FIELD_GROUPS.map((group, index) => (
|
||||
<div key={group.title}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue