Commit 43d6c19c authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Redo submit logic

parent e062528d
Pipeline #6118 failed with stage
in 26 seconds
......@@ -46,14 +46,17 @@ function Main(props) {
e.stopPropagation();
} else {
showModal();
if (DEBUG) console.log('Modal showed')
socketRef.current.emit('request', {
let message = {
'username': blazerid.current.value,
'firstName': firstName.current.value,
'lastName': lastName.current.value,
'reason': reason.current.value,
'aup': aup
});
};
if (DEBUG) console.log('Modal showed')
if (DEBUG) console.log('Message:')
if (DEBUG) console.log(message)
socketRef.current.emit('request', message);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment