Feature: Auto reload after injecting seed (#103)

* Add line to reload page automatically after injecting seed

* Remove instruction to reload page after injecting seed
This commit is contained in:
marshmallow
2019-10-18 07:23:50 +08:00
committed by Tania Rascia
parent f20ea5fc82
commit e5f2deb391
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ docker run -p 80:80 takenote
### Seed data
To seed the app with some test data, paste the contents of `seed.js` into your browser console and refresh.
To seed the app with some test data, paste the contents of `seed.js` into your browser console.
## Features
+1
View File
@@ -85,3 +85,4 @@ const notes = [
localStorage.setItem('categories', JSON.stringify(categories))
localStorage.setItem('notes', JSON.stringify(notes))
window.location.reload()