Skip to content

Commit 9a7c683

Browse files
committed
tweak
1 parent fa5e1fe commit 9a7c683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/5/en/part5a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ And now adding new notes works again!
414414

415415
### Saving the token to the browser's local storage
416416

417-
Our application has a flaw: when the page is rerendered, the user's login information disappears. This also slows down development. For example, when we test creating new notes, we have to login again every single time.
417+
Our application has a small flaw: if the browser is refreshed (eg. pressig F5), the user's login information disappears.
418418

419419
This problem is easily solved by saving the login details to [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Storage). Local Storage is a [key-value](https://en.wikipedia.org/wiki/Key-value_database) database in the browser.
420420

0 commit comments

Comments
 (0)