Skip to content
Snippets Groups Projects
Verified Commit 3da6736f authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix(toggle-switch): remove throw

parent 20953df6
No related branches found
No related tags found
No related merge requests found
...@@ -109,10 +109,10 @@ class ToggleSwitch extends CustomControl { ...@@ -109,10 +109,10 @@ class ToggleSwitch extends CustomControl {
}, },
actions: { actions: {
on: () => { on: () => {
throw new Error("the on action is not defined");
}, },
off: () => { off: () => {
throw new Error("the off action is not defined");
}, },
}, },
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment