Skip to content

Commit

Permalink
Fix <ColumnBackButtonSlim> (mastodon#27540)
Browse files Browse the repository at this point in the history
  • Loading branch information
renchap authored Oct 24, 2023
1 parent f08ca3f commit cb92cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/column_back_button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className='column-back-button--slim'>
Expand All @@ -18,5 +17,4 @@ export default class ColumnBackButtonSlim extends ColumnBackButton {
</div>
);
}

}

0 comments on commit cb92cdf

Please sign in to comment.