[chore] Settings refactor fix 2 (#1357)

* fix emoji query tagging

* fix proxy url for gts instance

* fix: don't flash callback error on authorize flow
This commit is contained in:
f0x52 2023-01-18 16:41:00 +01:00 committed by GitHub
commit 747683ba54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 37 additions and 31 deletions

View file

@ -121,10 +121,11 @@ const endpoints = (build) => ({
}).then(unwrapRes).then((app) => {
app.scopes = formData.scopes;
api.dispatch(oauth.setInstance({
api.dispatch(oauth.authorize({
instance: instance,
registration: app,
loginState: "callback"
loginState: "callback",
expectingRedirect: true
}));
return app;