Fix `<ColumnBackButtonSlim>` (#27540)

pull/21374/head^2
Renaud Chaput 1 year ago committed by GitHub
parent f08ca3f042
commit cb92cdf9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

@ -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'>
@ -18,5 +17,4 @@ export default class ColumnBackButtonSlim extends ColumnBackButton {
</div>
);
}
}

Loading…
Cancel
Save