Skip to content

Commit

Permalink
Rename downloadableContent property name
Browse files Browse the repository at this point in the history
Resolves #183
  • Loading branch information
gruz0 committed Nov 25, 2024
1 parent fb657a6 commit ed9ccb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/ideas/[id]/components/SectionContentIdeas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface ContentIdeaSectionProps {
onReport: (section: string) => void
section: string
header: string
downloadableContent?: boolean
generatableContent?: boolean
data: ContentIdeaProps
}

Expand Down Expand Up @@ -64,7 +64,7 @@ const SectionContentIdeas: React.FC<SectionContentIdeasProps> = ({
section="social_media_campaigns"
onReport={onReport}
data={data['socialMediaCampaigns']}
downloadableContent
generatableContent
/>

<ContentIdea
Expand Down Expand Up @@ -154,7 +154,7 @@ const ContentIdea: React.FC<ContentIdeaSectionProps> = ({
section,
header,
data,
downloadableContent = false,
generatableContent = false,
}) => (
<Section
header={header}
Expand Down Expand Up @@ -185,7 +185,7 @@ const ContentIdea: React.FC<ContentIdeaSectionProps> = ({
))}
</ul>

{downloadableContent && (
{generatableContent && (
<div className="mb-2">
<Link
href={`/ideas/${ideaId}/${section}`}
Expand Down

0 comments on commit ed9ccb1

Please sign in to comment.