diff --git a/src/features/dashboard/components/Dialogs/UpdateAppDialog/index.tsx b/src/features/dashboard/components/Dialogs/UpdateAppDialog/index.tsx index 6cb34973..aaf55ea8 100644 --- a/src/features/dashboard/components/Dialogs/UpdateAppDialog/index.tsx +++ b/src/features/dashboard/components/Dialogs/UpdateAppDialog/index.tsx @@ -70,7 +70,7 @@ const UpdateAppDialog = ({ app, onClose }: IUpdateAppDialog) => { scopes: selectedScopes, }); }, - [updateApp], + [updateApp, currentLoginAccount.name], ); const cancelButton = () => { diff --git a/src/features/dashboard/register-app/index.tsx b/src/features/dashboard/register-app/index.tsx index c1205a48..040ac423 100644 --- a/src/features/dashboard/register-app/index.tsx +++ b/src/features/dashboard/register-app/index.tsx @@ -39,7 +39,7 @@ const AppRegistration = () => { }); setFormIsCleared(true); }, - [registerApp], + [registerApp, currentLoginAccount.name], ); return (