mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
Fix transient props for styled-components v6
This commit is contained in:
@@ -55,7 +55,7 @@ const SliderContainer = styled.div`
|
||||
height: 20px;
|
||||
`;
|
||||
|
||||
const SliderValueWrapper = styled.div<{ position: 'left' | 'right' }>`
|
||||
const SliderValueWrapper = styled.div<{ $position: 'left' | 'right' }>`
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-self: center;
|
||||
@@ -281,7 +281,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
|
||||
</ButtonsContainer>
|
||||
</ControlsContainer>
|
||||
<SliderContainer>
|
||||
<SliderValueWrapper position="left">
|
||||
<SliderValueWrapper $position="left">
|
||||
<Text
|
||||
$noSelect
|
||||
$secondary
|
||||
@@ -309,7 +309,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
|
||||
}}
|
||||
/>
|
||||
</SliderWrapper>
|
||||
<SliderValueWrapper position="right">
|
||||
<SliderValueWrapper $position="right">
|
||||
<Text
|
||||
$noSelect
|
||||
$secondary
|
||||
|
||||
Reference in New Issue
Block a user