diff --git a/app/javascript/mastodon/components/column_back_button.jsx b/app/javascript/mastodon/components/column_back_button.jsx index fac6ed9814..3e914ecadd 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 6d66041cdf..397e6c6a77 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 (
@@ -18,5 +17,4 @@ export default class ColumnBackButtonSlim extends ColumnBackButton {
); } - }