0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +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(); fetchData();
}, []); }, []);
const str = JSON.stringify(data) const str = JSON.stringify(data)
const status = 0 let status = 0
if (str.indexOf("status") !== -1){ if (str.indexOf("status") !== -1){
status = data.members && data.members[0].status; status = data.members && data.members[0].status;
} }