Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
avral committed Feb 9, 2023
1 parent 1d314f7 commit 5cc19e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixins/trade.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const trade = {
},

async actionOrder(trade, bid) {
if (!this.user?.name) {
if (!this.$store.state.user?.name) {
// TODO replace with please login button
try {
if (!await this.$store.dispatch('chain/mainLogin', null, { root: true })) return
Expand Down

0 comments on commit 5cc19e0

Please sign in to comment.