diff options
author | Renard | 2019-09-27 12:42:47 -0300 |
---|---|---|
committer | Renard | 2019-09-27 12:42:47 -0300 |
commit | 522b92fbf7d2f79f6fe5dd9395c3175f8161053d (patch) | |
tree | 91d435bf07b085a352b9d54bc5a58105c1d39e97 /src | |
parent | e4013ead5d81725007d81f888c2a7976da9b2fe9 (diff) | |
download | bai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.tar.gz bai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.tar.xz bai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.zip |
testing popular dance
Diffstat (limited to 'src')
-rw-r--r-- | src/App.js | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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"); |