Update App.svelte

Display 'time' instead of 'times' for count === 0 || count === 1
pull/4429/head
Bitopan Das 6 years ago committed by GitHub
parent 423d1fe14e
commit 0cd24c1da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,5 +7,5 @@
</script> </script>
<button on:click={handleClick}> <button on:click={handleClick}>
Clicked {count} {count === 1 ? 'time' : 'times'} Clicked {count} {count <= 1 ? 'time' : 'times'}
</button> </button>

Loading…
Cancel
Save