mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix error if data id udnefined
This commit is contained in:
@@ -90,7 +90,7 @@ const Carousel = ({ data, cardRows }: any) => {
|
|||||||
mode="popLayout"
|
mode="popLayout"
|
||||||
>
|
>
|
||||||
<GridContainer
|
<GridContainer
|
||||||
key={`carousel-${uniqueId}-${data[0].id}`}
|
key={`carousel-${uniqueId}-${data[0]?.id}`}
|
||||||
animate="animate"
|
animate="animate"
|
||||||
custom={{ direction, loading }}
|
custom={{ direction, loading }}
|
||||||
exit="exit"
|
exit="exit"
|
||||||
|
|||||||
Reference in New Issue
Block a user