Skip to content

Commit

Permalink
feat: importAccounts revert upsertOnFetch
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Sep 27, 2024
1 parent 84303c3 commit 6df58ff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ export const ImportAccounts = ({ chainId, onClose }: ImportAccountsProps) => {
if (isEnabled) {
return
}
await dispatch(portfolioApi.endpoints.getAccount.initiate({ accountId }))
await dispatch(
portfolioApi.endpoints.getAccount.initiate({ accountId, upsertOnFetch: true }),
)
}),
)

Expand Down

0 comments on commit 6df58ff

Please sign in to comment.