mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix ui
This commit is contained in:
parent
43b7460968
commit
558c37ca06
1 changed files with 1 additions and 5 deletions
|
|
@ -274,11 +274,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
|||
message.success("API Key Created");
|
||||
form.resetFields();
|
||||
localStorage.removeItem("userData" + userID);
|
||||
|
||||
// We don't need to call refresh anymore since we're directly updating the state
|
||||
// if (window.refreshKeysList) {
|
||||
// window.refreshKeysList();
|
||||
// }
|
||||
|
||||
} catch (error) {
|
||||
console.log("error in create key:", error);
|
||||
message.error(`Error creating the key: ${error}`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue