Skip to content

Commit ff5eb78

Browse files
committed
refactor: rename details to body in RecordTile
1 parent 65bf112 commit ff5eb78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Tiles/RecordTile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type RecordTileProps = {
1010
organizationLink: string;
1111
role: string;
1212
duration: string;
13-
details?: React.ReactNode;
13+
body?: React.ReactNode;
1414
organizationBeforeRole?: boolean;
1515
};
1616

@@ -82,7 +82,7 @@ export function RecordTile({
8282
organizationLink,
8383
role,
8484
duration,
85-
details,
85+
body,
8686
organizationBeforeRole = false,
8787
}: RecordTileProps) {
8888
const isTablet = useMediaQuery('(min-width: 768px)');
@@ -118,7 +118,7 @@ export function RecordTile({
118118
organizationBeforeRole,
119119
isTablet,
120120
)}
121-
{details}
121+
{body}
122122
</div>
123123
</div>
124124
</div>

0 commit comments

Comments
 (0)