Skip to content

Commit

Permalink
Always load the new chip, then switch to the builtin if necessary. (#189
Browse files Browse the repository at this point in the history
)

Closes #187.
  • Loading branch information
DavidSouther committed Feb 6, 2023
1 parent f0baaa4 commit c42b83f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/src/stores/chip.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,9 @@ export function makeChipStore(
) {
chipName = storage["/chip/chip"] = chip;
dispatch.current({ action: "setChip", payload: chipName });
this.loadChip(project, chipName);
if (usingBuiltin) {
this.useBuiltin();
} else {
this.loadChip(project, chipName);
}
},

Expand Down

0 comments on commit c42b83f

Please sign in to comment.