Skip to content

Commit 127e1a3

Browse files
committed
fix description
1 parent b408deb commit 127e1a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pages/crowdfund/[slug].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const CampaignPage: NextPage = ({ initialData, slug }) => {
2525
const { data } = useSWR<CampaignWithFundings>(`/api/campaigns/${slug}`, fetch, { initialData });
2626
return (
2727
<>
28-
<SEO title={`${data.title} | Campaign | Coderplex Foundation`} description={data.description} />
28+
<SEO title={`${data.title} | Campaign | Coderplex Foundation`} description={data.meta_description} />
2929
<div className="pb-20 md:pb-0 md:max-w-5xl mx-auto">
3030
<header>
3131
<Link href="/crowdfund">

src/services/airtable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export interface Campaign {
4141
slug: string;
4242
title: string;
4343
description: string;
44+
meta_description: string;
4445
short_description: string;
4546
required_amount: number;
4647
amount_raised: number;

0 commit comments

Comments
 (0)