Skip to content

Commit

Permalink
fix: only show volume slider on desktop (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saelmala authored Dec 18, 2024
1 parent c29680d commit 5cb862b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/production-line/production-line.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,13 @@ export const ProductionLine = ({
}}
>
<DisplayContainerHeader>Controls</DisplayContainerHeader>
<VolumeSlider
value={value}
handleInputChange={handleInputChange}
handleVolumeButtonClick={handleVolumeButtonClick}
/>
{!isMobile && (
<VolumeSlider
value={value}
handleInputChange={handleInputChange}
handleVolumeButtonClick={handleVolumeButtonClick}
/>
)}
<FlexContainer>
<FlexButtonWrapper className="first">
<UserControlBtn
Expand Down

0 comments on commit 5cb862b

Please sign in to comment.