Fixed styled components warning

This is the new syntax for extending components. See:
https://github.com/styled-components/styled-components/issues/1546
fix-builder
Saúl Ibarra Corretgé 4 years ago committed by Hristo Terezov
parent 6884b08e57
commit 8e6f5719dd
  1. 4
      app/features/recent-list/styled/ConferenceTitle.js

@ -1,8 +1,10 @@
// @flow
import styled from 'styled-components';
import { default as TruncatedText } from './TruncatedText';
export default TruncatedText.extend`
export default styled(TruncatedText)`
font-size: 1.1em;
font-weight: bold;
`;

Loading…
Cancel
Save