10 lines
140 B

<script>
import { count } from './stores.js';
function reset() {
count.set(0);
}
</script>
<button on:click={reset}> reset </button>