Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4735 from withspectrum/2.7.4
Browse files Browse the repository at this point in the history
2.7.4
  • Loading branch information
brianlovin authored Feb 25, 2019
2 parents c623fb3 + d5e95db commit 0a9a9c0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ suppress_comment=.*\\$FlowIssue
esproposal.class_instance_fields=enable
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=.
module.file_ext=.web.js
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
import { genKey, ContentBlock } from 'draft-js';
import mentionsDecorator from '../index.web.js';
import mentionsDecorator from '../index';
import type { ContentBlock as ContentBlockType } from 'draft-js/lib/ContentBlock';

type Mention = string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
import React from 'react';
import mentionsDecorator from '../mentions-decorator/index.web';
import linksDecorator from '../links-decorator/index.web';
import mentionsDecorator from '../mentions-decorator/index';
import linksDecorator from '../links-decorator/index';
import { Line, Paragraph, BlockQuote } from 'src/components/message/style';
import type { Node } from 'react';
import type { KeyObj, KeysObj, DataObj } from './types';
Expand Down
6 changes: 3 additions & 3 deletions shared/clients/draft-js/message/test/renderer.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
import { messageRenderer } from '../renderer.web';
import mentionsDecorator from '../../mentions-decorator/index.web';
import linksDecorator from '../../links-decorator/index.web';
import { messageRenderer } from '../renderer';
import mentionsDecorator from '../../mentions-decorator/index';
import linksDecorator from '../../links-decorator/index';

describe('messageRenderer', () => {
it('should render certain blocks', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/message/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
QuoteWrapperGradient,
QuotedParagraph,
} from './style';
import { messageRenderer } from 'shared/clients/draft-js/message/renderer.web';
import { messageRenderer } from 'shared/clients/draft-js/message/renderer';
import { draftOnlyContainsEmoji } from 'shared/only-contains-emoji';
import { Byline, Name, Username } from './style';
import { isShort } from 'shared/clients/draft-js/utils/isShort';
Expand Down

0 comments on commit 0a9a9c0

Please sign in to comment.