0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-06-09 07:16:02 +09:00

Why did you try to change constant value LOL

This commit is contained in:
yude 2021-06-19 18:08:49 +09:00
parent fb1d20dd96
commit 09184f93df
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -13,7 +13,7 @@ const App = () => {
fetchData();
}, []);
const str = JSON.stringify(data)
const status = 0
let status = 0
if (str.indexOf("status") !== -1){
status = data.members && data.members[0].status;
}