Skip to content

Commit

Permalink
Merge pull request #89 from ps-carvalho/ps-carvalho-fix-typo
Browse files Browse the repository at this point in the history
Update hydro.js - Small typo
  • Loading branch information
kjeske authored Sep 19, 2024
2 parents 1b04c21 + a6d6d8f commit a867345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scripts/hydro.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
const componentId = component.getAttribute("id");

if (!component) {
throw new Erorr('Cannot determine the closest Hydro component');
throw new Error('Cannot determine the closest Hydro component');
}

const parentComponent = findComponent(component.parentElement);
Expand Down

0 comments on commit a867345

Please sign in to comment.