Fix `<ColumnBackButtonSlim>` (#27540)

This commit is contained in:
Renaud Chaput 2023-10-24 22:43:55 +02:00 committed by GitHub
parent f08ca3f042
commit cb92cdf9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -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>
);
}
}