A local-first personal finance app
fix: pushModal not dispatched in GoCardless linking (#3515)
Yue Wu83ea40dff956
diff --git a/packages/desktop-client/src/gocardless.ts b/packages/desktop-client/src/gocardless.tsindex 3ae10e355d..b9861626bc 100644--- a/packages/desktop-client/src/gocardless.ts+++ b/packages/desktop-client/src/gocardless.ts@@ -45,12 +45,14 @@ export async function authorizeBank() {_authorize(dispatch, upgradingAccountId, {onSuccess: async data => {- pushModal('select-linked-accounts', {- accounts: data.accounts,- requisitionId: data.id,- upgradingAccountId,- syncSource: 'goCardless',- });+ dispatch(+ pushModal('select-linked-accounts', {+ accounts: data.accounts,+ requisitionId: data.id,+ upgradingAccountId,+ syncSource: 'goCardless',+ }),+ );},});}diff --git a/upcoming-release-notes/3515.md b/upcoming-release-notes/3515.mdnew file mode 100644index 0000000000..3200097e69--- /dev/null+++ b/upcoming-release-notes/3515.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [EtaoinWu]+---++Fix GoCardless linking (account selection window not appearing)