Skip to content

Commit

Permalink
Merge pull request #2832 from starknet-io/editin-type
Browse files Browse the repository at this point in the history
fixing code
  • Loading branch information
TalBenAvi committed May 7, 2024
2 parents 4079e53 + b771cf8 commit f58c195
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions workspaces/cms-data/src/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ export interface ListCardItems {
}

export interface DisplayCardItems {
title:
title: string;
icon?:
| "Application"
| "Internal Evaluation"
| "Results"
| "Onboarding"
| "Grant Deliverables";
| "Post Grant Check-in";
description: string;
image?: string;
}
Expand Down
4 changes: 2 additions & 2 deletions workspaces/website/src/components/Card/DisplayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Props = {
| "Internal Evaluation"
| "Results"
| "Onboarding"
| "Post Grant check-in";
| "Post Grant Check-in";
readonly description?: string;
readonly index: number;
} & BoxProps;
Expand All @@ -22,7 +22,7 @@ const images = {
"Internal Evaluation": <InternalEvaluation />,
Results: <Results />,
Onboarding: <Onboarding />,
"Post Grant check-in": <GrantDeliverables />,
"Post Grant Check-in": <GrantDeliverables />,
};

export const DisplayCard = (props: Props) => {
Expand Down

0 comments on commit f58c195

Please sign in to comment.