1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Error cleaning

This commit is contained in:
Alexandre Umbelino 2024-06-28 20:16:32 +01:00
parent 77ec956d92
commit 2166f44079
2 changed files with 6 additions and 5 deletions

View file

@ -46,7 +46,6 @@ class ButtonScrollList extends Component {
React.Children.count(children) - 1,
this.slide + 1,
);
} else {
}
}
};

View file

@ -256,7 +256,11 @@ export const ColumnHeader: React.FC<Props> = ({
<>
{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 && (
<Icon
id={icon}
@ -269,9 +273,7 @@ export const ColumnHeader: React.FC<Props> = ({
</>
)}
{ icon === 'home' ? (
<FollowedTagsList />
) : null }
{icon === 'home' ? <FollowedTagsList /> : null}
{!hasTitle && backButton}