diff --git a/ui/litellm-dashboard/src/components/admins.tsx b/ui/litellm-dashboard/src/components/admins.tsx index 67b8551a34c..2915f065b53 100644 --- a/ui/litellm-dashboard/src/components/admins.tsx +++ b/ui/litellm-dashboard/src/components/admins.tsx @@ -183,7 +183,7 @@ const AdminPanel: React.FC = ({ proxySettings }) => { useEffect(() => { checkSSOConfiguration(); - }, [accessToken, premiumUser]); + }, [accessToken, premiumUser, checkSSOConfiguration]); const handleUIAccessControlOk = () => { setIsUIAccessControlModalVisible(false); @@ -246,56 +246,56 @@ const AdminPanel: React.FC = ({ proxySettings }) => { -
- - setIsAllowedIPModalVisible(false)} - footer={[ - , - , - ]} - > - - - - IP Address - Action +
+ + setIsAllowedIPModalVisible(false)} + footer={[ + , + , + ]} + > +
+ + + IP Address + Action + + + + {allowedIPs.map((ip, index) => ( + + {ip} + + {ip !== all_ip_address_allowed && ( + + )} + - - - {allowedIPs.map((ip, index) => ( - - {ip} - - {ip !== all_ip_address_allowed && ( - - )} - - - ))} - -
-
+ ))} + + +