remove unused variable
This commit is contained in:
parent
248e7a1f9e
commit
d121f5c39c
1 changed files with 0 additions and 7 deletions
|
@ -62,10 +62,6 @@ export function CommentCreate(props: Props) {
|
|||
setCommentValue(commentValue);
|
||||
}
|
||||
|
||||
function handleCommentAck() {
|
||||
setCommentAck(true);
|
||||
}
|
||||
|
||||
function altEnterListener(e: SyntheticKeyboardEvent<*>) {
|
||||
if (e.shiftKey && e.keyCode === 13) {
|
||||
e.preventDefault();
|
||||
|
@ -75,9 +71,6 @@ export function CommentCreate(props: Props) {
|
|||
|
||||
function onTextareaFocus() {
|
||||
window.addEventListener('keydown', altEnterListener);
|
||||
if (!commentAck) {
|
||||
openModal(MODALS.COMMENT_ACKNOWEDGEMENT, { onCommentAcknowledge: handleCommentAck });
|
||||
}
|
||||
}
|
||||
|
||||
function onTextareaBlur() {
|
||||
|
|
Loading…
Reference in a new issue