Skip to content

Commit

Permalink
Release 1.1.1 (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefashkaa authored May 6, 2021
1 parent 7cb6ea6 commit 72a4cca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkaswap-exchange-web",
"version": "1.1.0",
"version": "1.1.1",
"license": "Apache-2.0",
"private": true,
"author": "jihoon@tutanota.de <jihoon@tutanota.de>",
Expand Down
6 changes: 2 additions & 4 deletions src/views/AddLiquidity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ export default class AddLiquidity extends Mixins(TokenPairMixin) {
@Action('updateAccountLiquidity', { namespace: 'pool' }) updateAccountLiquidity
@Action('destroyUpdateAccountLiquiditySubscription', { namespace: 'pool' }) destroyUpdateAccountLiquiditySubscription
async mounted (): Promise<void> {
await this.withApi(this.updateAccountLiquidity)
}
destroyed (): void {
this.destroyUpdateAccountLiquiditySubscription()
}
Expand Down Expand Up @@ -242,6 +238,8 @@ export default class AddLiquidity extends Mixins(TokenPairMixin) {
}
async afterApiConnect (): Promise<void> {
await this.updateAccountLiquidity()
if (this.firstAddress && this.secondAddress) {
await this.setDataFromLiquidity({
firstAddress: this.firstAddress,
Expand Down

0 comments on commit 72a4cca

Please sign in to comment.