move container

This commit is contained in:
snoop 2017-05-25 17:57:10 +09:00
parent d39bfa9e85
commit cda14bb92e

View File

@ -92,11 +92,13 @@ export class MemberRegist extends React.Component<any, any> {
let output: string;
let obj: any; //new object declaration
obj = {"email":this.state.email,
obj = {
"email": this.state.email,
"pwSalt": this.state.pw,
"name": this.state.name,
"company": this.state.company,
"phone":this.state.phone};
"phone": this.state.phone
};
output = JSON.stringify(obj);
@ -114,6 +116,8 @@ fetch('http://192.168.1.209:8080/v1/example/echo', {
return response.json();
}).then(function (json) {
console.log(json);
ReactDOM.render(<MemberRegistResult />, document.getElementById('example')
);
}).catch((err) => {
console.log(err);
});