You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Few ideas I had for improving useAccountManager, mostly when using popup.
improved status checking
check if popup window is currently open
something like const {popupOpen: boolean} = useAccountManager()
for example: this would make it easy to display a loader on the base website while the authentication is happening in the popup window (i.e. {popupOpen && })
callback events
something like useAccountManager(options, onAccountAdded : () => {}, onAccountRemoved: () => {}, onAccountsUpdated:: () => {}, onAuthCancelled: () => {})
ex: in table editor, after authentication is finished, i want to use a callback to execute some cmds. here's how i do it now:
The text was updated successfully, but these errors were encountered:
Few ideas I had for improving useAccountManager, mostly when using popup.
improved status checking
const {popupOpen: boolean} = useAccountManager()
for example: this would make it easy to display a loader on the base website while the authentication is happening in the popup window (i.e. {popupOpen && })
callback events
useAccountManager(options, onAccountAdded : () => {}, onAccountRemoved: () => {}, onAccountsUpdated:: () => {}, onAuthCancelled: () => {})
ex: in table editor, after authentication is finished, i want to use a callback to execute some cmds. here's how i do it now:
The text was updated successfully, but these errors were encountered: