change prop name to items as well
This commit is contained in:
@@ -12,10 +12,10 @@ import {
|
|||||||
} from '#/components/VideoPostCard'
|
} from '#/components/VideoPostCard'
|
||||||
|
|
||||||
export function PostFeedVideoGridRow({
|
export function PostFeedVideoGridRow({
|
||||||
slices,
|
items: slices,
|
||||||
sourceContext,
|
sourceContext,
|
||||||
}: {
|
}: {
|
||||||
slices: FeedPostSliceItem[]
|
items: FeedPostSliceItem[]
|
||||||
sourceContext: VideoFeedSourceContext
|
sourceContext: VideoFeedSourceContext
|
||||||
}) {
|
}) {
|
||||||
const gutters = useGutters(['base', 'base', 0, 'base'])
|
const gutters = useGutters(['base', 'base', 0, 'base'])
|
||||||
|
|||||||
@@ -647,7 +647,7 @@ let PostFeed = ({
|
|||||||
} else if (row.type === 'videoGridRow') {
|
} else if (row.type === 'videoGridRow') {
|
||||||
return (
|
return (
|
||||||
<PostFeedVideoGridRow
|
<PostFeedVideoGridRow
|
||||||
slices={row.items}
|
items={row.items}
|
||||||
sourceContext={{
|
sourceContext={{
|
||||||
type: 'feedgen',
|
type: 'feedgen',
|
||||||
uri: row.sourceFeedUri,
|
uri: row.sourceFeedUri,
|
||||||
|
|||||||
Reference in New Issue
Block a user