Skip to content

Commit

Permalink
fix: fetch widgets when chain changed (#2059)
Browse files Browse the repository at this point in the history
Co-authored-by: iGroza <[email protected]>
  • Loading branch information
iGroza and iGroza committed Aug 26, 2024
1 parent 8146f52 commit d199e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/event-actions/on-provider-changed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const onProviderChanged = createAsyncTask(async () => {

await RemoteProviderConfig.init();
await awaitForEventDone(Events.onSyncAppBalances);
await awaitForEventDone(Events.onRequestMarkup);
await Token.fetchTokens(true);
await Transaction.fetchLatestTransactions(Wallet.addressList(), true);
await Currencies.fetchCurrencies();
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/get-app-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function getAppInfo(): Promise<AppInfo> {
return {
wallets,
uid,
chain_id: app.provider.cosmosChainId,
chain_id: app.provider.ethChainId.toString(),
platform: Platform.OS,
version: getAppVersion(),
posthog_id,
Expand Down

0 comments on commit d199e5f

Please sign in to comment.