Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomezzavilla committed Nov 24, 2024
1 parent 8b80e10 commit a2bdc67
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/_sub/UseCaseExcerpts/Component.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ import { buildUrlForSuccessStory } from '~/lib/datocms/gqlUrlBuilder/successStor
import s from './style.module.css';
type Props = {
cases: [FragmentOf<typeof SuccessStoryFragment>, ...FragmentOf<typeof SuccessStoryFragment>[]];
cases: FragmentOf<typeof SuccessStoryFragment>[];
};
const { cases } = Astro.props;
const firstCase = cases[0];
if (!firstCase) {
return null;
}
---

<div class={s.root}>
Expand Down

0 comments on commit a2bdc67

Please sign in to comment.