From 0014a32c19bb6d3ab83aad65506f6b1cf66f93a9 Mon Sep 17 00:00:00 2001 From: Rey Tucker Date: Sun, 8 Sep 2019 17:29:42 -0400 Subject: glitch: fix webpack build failure in columns_area.js (#1212) Fixes #1212 by copying what works in the mainline flavor. --- app/javascript/flavours/glitch/features/ui/components/columns_area.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/javascript/flavours/glitch/features/ui') diff --git a/app/javascript/flavours/glitch/features/ui/components/columns_area.js b/app/javascript/flavours/glitch/features/ui/components/columns_area.js index 46df1f4ef..86e0f04db 100644 --- a/app/javascript/flavours/glitch/features/ui/components/columns_area.js +++ b/app/javascript/flavours/glitch/features/ui/components/columns_area.js @@ -51,8 +51,8 @@ const messages = defineMessages({ publish: { id: 'compose_form.publish', defaultMessage: 'Toot' }, }); -@component => injectIntl(component, { withRef: true }) -export default class ColumnsArea extends ImmutablePureComponent { +export default @(component => injectIntl(component, { withRef: true })) +class ColumnsArea extends ImmutablePureComponent { static contextTypes = { router: PropTypes.object.isRequired, -- cgit