aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-27 12:42:47 -0300
committerLibravatar Renard 2019-09-27 12:42:47 -0300
commit522b92fbf7d2f79f6fe5dd9395c3175f8161053d (patch)
tree91d435bf07b085a352b9d54bc5a58105c1d39e97
parente4013ead5d81725007d81f888c2a7976da9b2fe9 (diff)
downloadbai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.tar.gz
bai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.tar.xz
bai-client-522b92fbf7d2f79f6fe5dd9395c3175f8161053d.zip
testing popular dance
-rw-r--r--src/App.js17
1 files changed, 16 insertions, 1 deletions
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");