Skip to content

Commit bc194e6

Browse files
committed
fix: rename PayloadCard
1 parent f5b1c01 commit bc194e6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/Blocks/RelatedPosts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { RichText } from '@/components/Payload/RichText'
44

55
import type { Post } from '@/payload-types'
66

7-
import { Card } from '@/components/Payload/Card'
7+
import { Card } from '@/components/Payload/PayloadCard'
88

99
export type RelatedPostsProps = {
1010
className?: string

src/components/Payload/CollectionArchive/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react'
33

44
import type { Post } from '@/payload-types'
55

6-
import { Card } from '../Card'
6+
import { Card } from '../PayloadCard'
77

88
export type Props = {
99
posts: Post[]

src/components/Payload/Card/index.tsx renamed to src/components/Payload/PayloadCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { Post } from '@/payload-types'
88

99
import { Media } from '../Media'
1010

11-
export const Card: React.FC<{
11+
export const PayloadCard: React.FC<{
1212
alignItems?: 'center'
1313
className?: string
1414
doc?: Post

src/components/Payload/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from "./Card";
1+
export * from "./PayloadCard";
22
export * from "./CollectionArchive";
33
export * from "./Link";
44
export * from "./Logo";

0 commit comments

Comments
 (0)