Skip to content

Commit

Permalink
error on uni activation
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed May 29, 2024
1 parent 41d200a commit e688901
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stores/mints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ export const useMintsStore = defineStore("mints", {
const mintClass = new MintClass(mint);
if (mintClass.units.includes(unit)) {
this.activeUnit = unit;
} else {
notifyError("Unit not supported by mint", "Unit activation failed");
}
},
activateMint: async function (mint: Mint, verbose = false, force = false) {
Expand Down

0 comments on commit e688901

Please sign in to comment.