Skip to content

Commit b92903a

Browse files
committed
minor
fixes
1 parent 064792c commit b92903a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

components/templates/HeroImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Template } from "tinacms";
33
import { tinaField } from "tinacms/dist/react";
44
import { cn } from "../../lib/cn";
55

6-
export interface HeroImageProps {
6+
export interface HeroImageProps extends Record<string, unknown> {
77
imageUrl: string;
88
height?: string;
99
textPosition?: "center" | "left" | "center-bottom";

components/templates/IgemHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type Slide = {
2727
offsetX?: number;
2828
offsetY?: number;
2929
awards?: Award[];
30-
};
30+
} & Record<string, unknown>;
3131

3232
type IgemHeroProps = Omit<
3333
React.ComponentProps<typeof HeroImage>,

components/templates/SponsorLogos.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import Link from "next/link";
33
import { Template } from "tinacms";
44
import { tinaField } from "tinacms/dist/react";
55

6-
interface SponsorLogo {
6+
interface SponsorLogo extends Record<string, unknown> {
77
logo: string;
88
alt: string;
99
link: string;
1010
scale?: number;
1111
}
1212

13-
interface SponsorLogosProps {
13+
interface SponsorLogosProps extends Record<string, unknown> {
1414
title: string;
1515
sponsors: SponsorLogo[];
1616
}

0 commit comments

Comments
 (0)