aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <saghul@gmail.com>2018-09-30 21:16:26 +0200
committerHristo Terezov <hristo@jitsi.org>2018-10-04 14:48:23 -0500
commit8e6f5719ddc33a2a9699a2c7af77a81c9a8af4d7 (patch)
treeccc28f21e6b1ec1abb772241d0d41dfa62e39683
parent6884b08e5751d74ff83dcb0362566470b94b51bd (diff)
Fixed styled components warning
This is the new syntax for extending components. See: https://github.com/styled-components/styled-components/issues/1546
-rw-r--r--app/features/recent-list/styled/ConferenceTitle.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/features/recent-list/styled/ConferenceTitle.js b/app/features/recent-list/styled/ConferenceTitle.js
index 31376c9..9deaa65 100644
--- a/app/features/recent-list/styled/ConferenceTitle.js
+++ b/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;
`;