mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
Fix invalid DOM prop on playerbar
This commit is contained in:
parent
2e3c69e61c
commit
6587e9cac8
@ -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 />
|
||||
|
Loading…
Reference in New Issue
Block a user