Skip to content

Commit d4127ba

Browse files
committed
minor fixes
1 parent 8814916 commit d4127ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ SvelteJS component for switch or toggle a boolean.The component is Svelte implem
99

1010
[Click here for Storybook link](https://svelte-switch.netlify.app/)
1111

12+
[REPL Link](https://svelte.dev/repl/72a37aee9ae24705b7d874def7e1f270)
13+
1214
## Installation
1315

1416
```
@@ -23,7 +25,7 @@ yarn add svelte-switch
2325

2426
```
2527
<script>
26-
import Switch from "./../../src";
28+
import Switch from "svelte-switch";
2729
2830
let checkedValue = true;
2931

src/components/Switch.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
}
176176
177177
function onChangeTrigger(event) {
178-
// onChange && onChange(!checked, event, id);
179178
checked = !checked;
180179
dispatch("change", {
181180
checked: checked,

0 commit comments

Comments
 (0)