Skip to content

Commit

Permalink
fix typo in function name
Browse files Browse the repository at this point in the history
though same spelling been referred in html
it's better to change them on both places

*I've also changed it on html accordingly
  • Loading branch information
bskrksyp9 authored Mar 13, 2024
1 parent ccc82c0 commit 0c3c1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ui/api-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ async function readBuildFile(branchName) {
}
}

function upadteContract() {
function updateContract() {
const selectedOption = document.getElementById("contract-dropdown")?.value;
readBuildFile(selectedOption);
}

window.onload = function () {
upadteContract();
updateContract();
};

0 comments on commit 0c3c1b5

Please sign in to comment.