From 72909a39232bc8d2114bdd39e16e0006bb416f7b Mon Sep 17 00:00:00 2001 From: Musaddiq625 <37911054+Musaddiq625@users.noreply.github.com> Date: Fri, 10 Oct 2025 19:51:01 +0500 Subject: [PATCH] feat: implement automatic auth dialog closure for better UX Added functionality to automatically close the authorization dialog when the 'Authorize' button is pressed with a non-empty token. --- src/core/components/auth/auths.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/components/auth/auths.jsx b/src/core/components/auth/auths.jsx index a29b57359f3..539261a014e 100644 --- a/src/core/components/auth/auths.jsx +++ b/src/core/components/auth/auths.jsx @@ -29,6 +29,9 @@ export default class Auths extends React.Component { let { authActions } = this.props authActions.authorizeWithPersistOption(this.state) + setTimeout(() => { + this.close(e) + }, 50) } logoutClick =(e) => {