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

Redo submit logic

parent 4a5b3cd5
Pipeline #6117 failed with stage
in 28 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