forked from phoenix/litellm-mirror
(feat) delete cache when user deletes key
This commit is contained in:
parent
6f8a7caee4
commit
287659163c
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ const ViewKeyTable: React.FC<ViewKeyTableProps> = ({
|
|||
|
||||
// Set the key to delete and open the confirmation modal
|
||||
setKeyToDelete(token);
|
||||
localStorage.removeItem("userData" + userID)
|
||||
setIsDeleteModalOpen(true);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue