refactor: remove refresh button from highlights sidebar

Remove the refresh IconButton from highlights panel header as it's no longer needed.
This commit is contained in:
Gigi
2025-10-23 16:56:51 +02:00
parent 9a345a7347
commit d9263e07d1

View File

@@ -1,6 +1,6 @@
import React from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faChevronRight, faEye, faEyeSlash, faRotate, faUser, faUserGroup, faNetworkWired } from '@fortawesome/free-solid-svg-icons'
import { faChevronRight, faEye, faEyeSlash, faUser, faUserGroup, faNetworkWired } from '@fortawesome/free-solid-svg-icons'
import { HighlightVisibility } from '../HighlightsPanel'
import IconButton from '../IconButton'
@@ -95,17 +95,6 @@ const HighlightsPanelHeader: React.FC<HighlightsPanelHeaderProps> = ({
)}
</div>
<div className="highlights-actions-right">
{onRefresh && (
<IconButton
icon={faRotate}
onClick={onRefresh}
title="Refresh highlights"
ariaLabel="Refresh highlights"
variant="ghost"
disabled={loading}
spin={loading}
/>
)}
{hasHighlights && (
<IconButton
icon={showHighlights ? faEye : faEyeSlash}