mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Error cleaning
This commit is contained in:
parent
77ec956d92
commit
2166f44079
2 changed files with 6 additions and 5 deletions
|
@ -46,7 +46,6 @@ class ButtonScrollList extends Component {
|
||||||
React.Children.count(children) - 1,
|
React.Children.count(children) - 1,
|
||||||
this.slide + 1,
|
this.slide + 1,
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -256,7 +256,11 @@ export const ColumnHeader: React.FC<Props> = ({
|
||||||
<>
|
<>
|
||||||
{backButton}
|
{backButton}
|
||||||
|
|
||||||
<button onClick={handleTitleClick} className='column-header__title' style={{ overflow: 'visible', paddingRight: '15px' }}>
|
<button
|
||||||
|
onClick={handleTitleClick}
|
||||||
|
className='column-header__title'
|
||||||
|
style={{ overflow: 'visible', paddingRight: '15px' }}
|
||||||
|
>
|
||||||
{!backButton && (
|
{!backButton && (
|
||||||
<Icon
|
<Icon
|
||||||
id={icon}
|
id={icon}
|
||||||
|
@ -269,9 +273,7 @@ export const ColumnHeader: React.FC<Props> = ({
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{ icon === 'home' ? (
|
{icon === 'home' ? <FollowedTagsList /> : null}
|
||||||
<FollowedTagsList />
|
|
||||||
) : null }
|
|
||||||
|
|
||||||
{!hasTitle && backButton}
|
{!hasTitle && backButton}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue