Fix invalid DOM prop on playerbar

This commit is contained in:
jeffvli 2024-09-03 21:51:50 -07:00
parent 2e3c69e61c
commit 6587e9cac8

View File

@ -3,7 +3,7 @@ import { Playerbar } from '/@/renderer/features/player';
import { useGeneralSettings } from '/@/renderer/store/settings.store';
interface PlayerbarContainerProps {
drawerEffect: boolean;
$drawerEffect: boolean;
}
const PlayerbarContainer = styled.footer<PlayerbarContainerProps>`
@ -13,7 +13,7 @@ const PlayerbarContainer = styled.footer<PlayerbarContainerProps>`
transition: background 0.5s;
${(props) =>
props.drawerEffect &&
props.$drawerEffect &&
`
&:hover {
background: var(--playerbar-bg-active);
@ -26,7 +26,7 @@ export const PlayerBar = () => {
return (
<PlayerbarContainer
drawerEffect={playerbarOpenDrawer}
$drawerEffect={playerbarOpenDrawer}
id="player-bar"
>
<Playerbar />