feat: apply phase1 DX cleanup for private registry
This commit is contained in:
@@ -4,15 +4,15 @@ import { SettingsIcon } from '../../icons'
|
||||
import './ControlButton.css'
|
||||
|
||||
export const SettingsButton: React.FC = () => {
|
||||
const { toggleSettings } = usePlayerContext()
|
||||
const { toggleSettings, translations } = usePlayerContext()
|
||||
|
||||
return (
|
||||
<button
|
||||
className="control-button settings-button"
|
||||
onMouseDown={(event) => event.stopPropagation()}
|
||||
onClick={toggleSettings}
|
||||
aria-label="Settings"
|
||||
title="Settings"
|
||||
aria-label={translations.settings}
|
||||
title={translations.settings}
|
||||
>
|
||||
<SettingsIcon size={24} color="var(--player-text)" />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user