mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Set default context to empty object
This commit is contained in:
@@ -27,7 +27,7 @@ interface GridCarouselProps {
|
|||||||
uniqueId: string;
|
uniqueId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const GridCarouselContext = createContext<any>(null);
|
const GridCarouselContext = createContext<any>({});
|
||||||
|
|
||||||
const GridContainer = styled(motion.div)<{ height: number; itemsPerPage: number }>`
|
const GridContainer = styled(motion.div)<{ height: number; itemsPerPage: number }>`
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
Reference in New Issue
Block a user