Skip to content

Commit

Permalink
remove loading prop
Browse files Browse the repository at this point in the history
  • Loading branch information
markvanaalst committed Jul 16, 2024
1 parent cd7bc95 commit 7c9525e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/devportal/src/components/changelog/ChangeLogItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type ChangeLogItemProps = {
loadEntries: () => void;
};

const ChangeLogItem = ({ item, loading, loadEntries, isLast, isMore }: ChangeLogItemProps): JSX.Element => {
const ChangeLogItem = ({ item, loadEntries, isLast, isMore }: ChangeLogItemProps): JSX.Element => {
const { isOpen, onOpen, onClose } = useDisclosure();
const entryRef = useRef(null);

Expand All @@ -44,7 +44,7 @@ const ChangeLogItem = ({ item, loading, loadEntries, isLast, isMore }: ChangeLog
{item.title}
</Link>
</Heading>
<ChangelogItemMeta item={item} loading={loading} />
<ChangelogItemMeta item={item} />
</CardHeader>
<CardBody py={0}>
{item.image.length > 0 && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const CustomImage = chakra(Image, {
shouldForwardProp: (prop) => ['height', 'width', 'quality', 'src', 'alt'].includes(prop),
});

export const ChangelogItemMeta = ({ item, ...rest }: ChangelogItemMetaProps) => {
export const ChangelogItemMeta = ({ item }: ChangelogItemMetaProps) => {
const { isPreview } = usePreview();

const organizationId = process.env.NEXT_PUBLIC_SITECORE_CHONE_ORGANIZATION as string;
Expand Down

0 comments on commit 7c9525e

Please sign in to comment.