diff --git a/app/javascript/mastodon/components/column_back_button.jsx b/app/javascript/mastodon/components/column_back_button.jsx index fac6ed9814d..3e914ecadde 100644 --- a/app/javascript/mastodon/components/column_back_button.jsx +++ b/app/javascript/mastodon/components/column_back_button.jsx @@ -11,7 +11,7 @@ import { ReactComponent as ArrowBackIcon } from '@material-symbols/svg-600/outli import { Icon } from 'mastodon/components/icon'; import { WithRouterPropTypes } from 'mastodon/utils/react_router'; -class ColumnBackButton extends PureComponent { +export class ColumnBackButton extends PureComponent { static propTypes = { multiColumn: PropTypes.bool, diff --git a/app/javascript/mastodon/components/column_back_button_slim.jsx b/app/javascript/mastodon/components/column_back_button_slim.jsx index 6d66041cdfc..397e6c6a779 100644 --- a/app/javascript/mastodon/components/column_back_button_slim.jsx +++ b/app/javascript/mastodon/components/column_back_button_slim.jsx @@ -4,10 +4,9 @@ import { ReactComponent as ArrowBackIcon } from '@material-symbols/svg-600/outli import { Icon } from 'mastodon/components/icon'; -import ColumnBackButton from './column_back_button'; +import { ColumnBackButton } from './column_back_button'; export default class ColumnBackButtonSlim extends ColumnBackButton { - render () { return (