{alertLabel}
-
- {this.state.postIt.map((value, index) => (
+ {/* {this.state.postIt.map((value, index) => (
- { @@ -484,30 +191,30 @@ class Profile extends React.Component { if (_index === index) { return { ...val, - postIt_click: !val.postIt_click + postIt_click: !val.postIt_click, }; } return { ...val, - postIt_click: false + postIt_click: false, }; - }) + }), }); }} style={ value.postIt_click === true ? { width: '40px', - backgroundColor: `${value.postIt_color}77` + backgroundColor: `${value.postIt_color}77`, } : { width: '20px', - backgroundColor: `${value.postIt_color}77` + backgroundColor: `${value.postIt_color}77`, } } /> ))} - {console.log(this.state.postIt)} + {console.log(this.state.postIt)} */}
- - Water_Glasses + {`${this.state.userInfo.userId}(${this.state.userInfo.userNm})`}
- 팔로워 @@ -530,7 +237,7 @@ class Profile extends React.Component { component='button' onClick={() => this.setState({ - followerNumClick: true + followerNumClick: true, }) } > @@ -544,7 +251,7 @@ class Profile extends React.Component { component='button' onClick={() => this.setState({ - followerNumClick: true + followingNumClick: true, }) } > @@ -553,7 +260,7 @@ class Profile extends React.Component {
- responseEntity = restTemplate.getForEntity(url,List.class);
+
+
+ //then
+ //System.out.print(responseEntity);
+ List