mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-12 03:17:06 -05:00
Don't show "unmute" state in column header
This commit is contained in:
@@ -160,7 +160,12 @@ const InnerTimeline: FC<{ account: Account; multiColumn: boolean }> = ({
|
||||
const ColumnHeaderFollowButton: FC<{ accountId: string }> = ({ accountId }) => {
|
||||
const reference = useFollowReference('profile');
|
||||
const { onClick, link, label, icon, disabled, secondary, hidden } =
|
||||
useFollowButton({ accountId, labelLength: 'long', reference });
|
||||
useFollowButton({
|
||||
accountId,
|
||||
withUnmute: false,
|
||||
labelLength: 'long',
|
||||
reference,
|
||||
});
|
||||
|
||||
if (hidden) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user