Skip to content

Commit bfc0fb6

Browse files
committed
compose box [nfc]: Cut a small comment redundant with type
Flow already knows that these are the only three possible values for this variable: if you delete or munge one of the cases, you get a type error at the `ensureUnreachable` call. Thanks to Leslie Ngo for spotting this: #5510 (comment)
1 parent 30349b8 commit bfc0fb6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compose/ComposeBox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ export default function ComposeBox(props: Props): Node {
401401
if (validationErrors.length > 0) {
402402
const msg = validationErrors
403403
.map(error => {
404-
// 'upload-in-progress' | 'message-empty' | 'mandatory-topic-empty'
405404
switch (error) {
406405
case 'upload-in-progress':
407406
return _('Please wait for the upload to complete.');

0 commit comments

Comments
 (0)