mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 07:54:18 +02:00
Remove isScrolling
This commit is contained in:
@@ -81,7 +81,7 @@ const Row = styled.div`
|
|||||||
padding: 0 0.2rem;
|
padding: 0 0.2rem;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const GridCard = ({ data, index, style, isScrolling }: any) => {
|
export const GridCard = ({ data, index, style }: any) => {
|
||||||
const {
|
const {
|
||||||
itemHeight,
|
itemHeight,
|
||||||
itemWidth,
|
itemWidth,
|
||||||
@@ -111,13 +111,11 @@ export const GridCard = ({ data, index, style, isScrolling }: any) => {
|
|||||||
<ImageSection>
|
<ImageSection>
|
||||||
<Image height={itemWidth} src={itemData[i]?.image}>
|
<Image height={itemWidth} src={itemData[i]?.image}>
|
||||||
<ControlsContainer>
|
<ControlsContainer>
|
||||||
{!isScrolling && (
|
<GridCardControls
|
||||||
<GridCardControls
|
cardControls={cardControls}
|
||||||
cardControls={cardControls}
|
handlePlayQueueAdd={handlePlayQueueAdd}
|
||||||
handlePlayQueueAdd={handlePlayQueueAdd}
|
itemData={itemData[i]}
|
||||||
itemData={itemData[i]}
|
/>
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</ControlsContainer>
|
</ControlsContainer>
|
||||||
</Image>
|
</Image>
|
||||||
</ImageSection>
|
</ImageSection>
|
||||||
|
|||||||
Reference in New Issue
Block a user