docs: move TODO.md to README
This commit is contained in:
parent
56fd9467f7
commit
a90a877aed
3 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# word-counter
|
# word-counter
|
||||||
|
|
||||||
A simple svelte word counter
|
A simple word counter written in Svelte.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -28,3 +28,9 @@ pnpm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
You can preview the production build with `pnpm run preview`.
|
You can preview the production build with `pnpm run preview`.
|
||||||
|
|
||||||
|
## Todo
|
||||||
|
|
||||||
|
- [ ] Time to read
|
||||||
|
- [ ] Time to speak
|
||||||
|
- [ ] Word frequency
|
||||||
|
|
3
TODO.md
3
TODO.md
|
@ -1,3 +0,0 @@
|
||||||
- Time to read
|
|
||||||
- Time to speak
|
|
||||||
- Word frequency
|
|
|
@ -25,7 +25,7 @@
|
||||||
if (browser) {
|
if (browser) {
|
||||||
const savedText = localStorage.getItem('text');
|
const savedText = localStorage.getItem('text');
|
||||||
if (savedText !== null) {
|
if (savedText !== null) {
|
||||||
text = savedText; // Ensure reactivity
|
text = savedText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue