From 522b92fbf7d2f79f6fe5dd9395c3175f8161053d Mon Sep 17 00:00:00 2001 From: Renard Date: Fri, 27 Sep 2019 12:42:47 -0300 Subject: testing popular dance --- src/App.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/App.js b/src/App.js index 5e9f3ab..c61ba33 100644 --- a/src/App.js +++ b/src/App.js @@ -36,7 +36,22 @@ class App extends Component { return response.json(); }) .then(resource => { - this.setState({ boardList: resource["boards"], isLoaded: true }); + let polka = { + allow_image_replies: 1, + allow_images: 1, + board_type: 1, + dir: "polka", + maxsize: 500, + name: "Testing field", + postarea_desc: "" + }; + if (localStorage.getItem("thereisnourflevel") === null) { + polka = {}; + } + this.setState({ + boardList: resource["boards"].concat(polka), + isLoaded: true + }); }); let _nightMode = localStorage.getItem("nightMode"); -- cgit v1.2.1-18-gbd029