Skip to content

Commit

Permalink
fix network subscription before connecting wallet in teerdays
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Oct 29, 2024
1 parent 09de438 commit d4a2349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/teerdays.vue
Original file line number Diff line number Diff line change
Expand Up @@ -892,12 +892,12 @@ const subscribeToTeerDayStats = async () => {
onMounted(async () => {
loadEnv();
eventBus.on("addressClicked", openChooseWalletOverlay);
subscribeToTeerDayStats();
const injectedAddress = router.currentRoute.value.query.address;
if (injectedAddress) {
connectExtension();
onExtensionAccountChange(injectedAddress.toString());
} else {
subscribeToTeerDayStats();
//openChooseWalletOverlay();
}
});
Expand Down

0 comments on commit d4a2349

Please sign in to comment.