From a6d6d8f4ea2c654a56e6a15378509c399f064078 Mon Sep 17 00:00:00 2001 From: Paulo Carvalho <65711196+ps-carvalho@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:22:17 +0100 Subject: [PATCH] Update hydro.js Fix typo when throwing new Error. --- src/Scripts/hydro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scripts/hydro.js b/src/Scripts/hydro.js index 5bd775d..b92f889 100644 --- a/src/Scripts/hydro.js +++ b/src/Scripts/hydro.js @@ -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);