From aa6ef7acd0c728db3910fb1f24fc5be2657acf9c Mon Sep 17 00:00:00 2001 From: Rey Tucker Date: Sun, 8 Sep 2019 17:29:42 -0400 Subject: [PATCH] glitch: fix webpack build failure in columns_area.js (#1212) Fixes #1212 by copying what works in the mainline flavor. --- .../flavours/glitch/features/ui/components/columns_area.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 46df1f4ef4..86e0f04db9 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,