about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRey Tucker <git@reytucker.us>2019-09-08 17:29:42 -0400
committerThibG <thib@sitedethib.com>2019-09-09 09:56:37 +0200
commit0014a32c19bb6d3ab83aad65506f6b1cf66f93a9 (patch)
tree7a0de32aaf8bbb56e104cdd5d636f2fd721ca952
parent286bf110c3e69042049968440f1eb99372a7e0e6 (diff)
glitch: fix webpack build failure in columns_area.js (#1212)
Fixes #1212 by copying what works in the mainline flavor.
-rw-r--r--app/javascript/flavours/glitch/features/ui/components/columns_area.js4
1 files 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 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,