Skip to content

Commit c97c531

Browse files
committed
Changed the order of the dependeinces of the validation errors to its original order
1 parent cfe26ad commit c97c531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compose/ComposeBox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,12 @@ const ComposeBox: React$AbstractComponent<Props, ImperativeHandle> = forwardRef(
535535

536536
return result;
537537
}, [
538-
messageInputState,
539538
destinationNarrow,
540539
mandatoryTopics,
541-
isEditing,
542540
numUploading,
543541
anyQuoteAndReplyInProgress,
542+
messageInputState,
543+
isEditing,
544544
]);
545545

546546
const submitButtonDisabled = validationErrors.length > 0;

0 commit comments

Comments
 (0)