Skip to content

Commit

Permalink
change explicit undefined to optional type
Browse files Browse the repository at this point in the history
  • Loading branch information
stromseng committed May 7, 2024
1 parent a558aec commit 6fe5bb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/FeaturedProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export default function FeaturedProjectCard({
imageURL,
projectSlug,
}: {
title: string | undefined;
content: any | undefined;
imageURL: string | undefined;
projectSlug: string | undefined;
title?: string;
content?: any;
imageURL?: string;
projectSlug?: string;
}) {
if (!title || !content || !imageURL || !projectSlug) {
return null;
Expand Down

0 comments on commit 6fe5bb1

Please sign in to comment.