forked from phoenix/litellm-mirror
fix ui type
This commit is contained in:
parent
7f461dbf68
commit
b345db5011
1 changed files with 4 additions and 0 deletions
|
@ -762,6 +762,10 @@ const ViewKeyTable: React.FC<ViewKeyTableProps> = ({
|
|||
return;
|
||||
}
|
||||
|
||||
if (selectedToken == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const formValues = await regenerateForm.validateFields();
|
||||
const response = await regenerateKeyCall(accessToken, selectedToken.token, formValues);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue