diff --git a/apps/dashboard/src/components/api-key.tsx b/apps/dashboard/src/components/api-key.tsx index 569a7a0b..60c03e6e 100644 --- a/apps/dashboard/src/components/api-key.tsx +++ b/apps/dashboard/src/components/api-key.tsx @@ -95,7 +95,6 @@ export default function ApiKeyComponent({ "Successfully refreshed", "success" ) - getAdminInfo() } } } @@ -136,7 +135,6 @@ export default function ApiKeyComponent({ ? "API key has been enabled." : "API key has been disabled." } - getAdminInfo() showToast(toastTitle, toastDescription, "success") } }