refactor(clean): removed useless br tags

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-04-19 22:50:02 +02:00
1 parent c45bce36f9
commit 74073f5038
13 files changed
+21 -43

No files matched your search

@@ -1,9 +1,8 @@
<template>
<n-card>
<n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" />
<br />
<br />
<n-space justify="space-around">
<n-space justify="space-around" mt-5>
<n-statistic label="Character count" :value="text.length" />
<n-statistic label="Word count" :value="text === '' ? 0 : text.split(/\s+/).length" />
<n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" />