From 85d4846d8acaff8c48307657ebba0145d0738bc3 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Tue, 24 Oct 2023 22:43:55 +0200 Subject: [PATCH] [Glitch] Fix `` Port cb92cdf9af3ba0e53ed6a27f480a44c45b4d6dc1 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/components/column_back_button.jsx | 2 +- .../flavours/glitch/components/column_back_button_slim.jsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/column_back_button.jsx b/app/javascript/flavours/glitch/components/column_back_button.jsx index 0562fae29b..df623ab233 100644 --- a/app/javascript/flavours/glitch/components/column_back_button.jsx +++ b/app/javascript/flavours/glitch/components/column_back_button.jsx @@ -9,7 +9,7 @@ import { withRouter } from 'react-router-dom'; import { Icon } from 'flavours/glitch/components/icon'; import { WithRouterPropTypes } from 'flavours/glitch/utils/react_router'; -class ColumnBackButton extends PureComponent { +export class ColumnBackButton extends PureComponent { static propTypes = { multiColumn: PropTypes.bool, diff --git a/app/javascript/flavours/glitch/components/column_back_button_slim.jsx b/app/javascript/flavours/glitch/components/column_back_button_slim.jsx index 4e4185387d..353a52cb30 100644 --- a/app/javascript/flavours/glitch/components/column_back_button_slim.jsx +++ b/app/javascript/flavours/glitch/components/column_back_button_slim.jsx @@ -35,7 +35,6 @@ class ColumnBackButtonSlim extends PureComponent { ); } - } export default withRouter(ColumnBackButtonSlim);