Skip to content

Commit

Permalink
clear proverSheet when loading new program
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineFONDEUR committed Sep 8, 2024
1 parent f6ab96b commit d2b6d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function showPicker() {

function loadProgram(program: any) {
programSheet.getRange("A2:G").clearContent();
proverSheet.getRange("A3:G").clearContent();
const bytecode: string[] = program.data;
programSheet
.getRange(`A2:B${bytecode.length + 1}`)
Expand Down

0 comments on commit d2b6d36

Please sign in to comment.