From ff51a2aa008b6f70c7d1ddc8b558153018a072e7 Mon Sep 17 00:00:00 2001 From: HonzaKirchner Date: Tue, 20 Aug 2024 11:04:41 +0200 Subject: [PATCH] make h2 default section heading --- src/components/Section/Section.tsx | 2 +- src/pages/api/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Section/Section.tsx b/src/components/Section/Section.tsx index a2f151d06..f8bdb213f 100644 --- a/src/components/Section/Section.tsx +++ b/src/components/Section/Section.tsx @@ -19,7 +19,7 @@ export default function Section({ heading, description, className, children, hea return (
{(heading || description) &&
- {heading && {heading}} + {heading && {heading}} {description && {description}}
} {children} diff --git a/src/pages/api/index.tsx b/src/pages/api/index.tsx index 2c47e3d97..257cfcbff 100644 --- a/src/pages/api/index.tsx +++ b/src/pages/api/index.tsx @@ -173,6 +173,7 @@ curl "https://api.apify.com/v2/datasets//items?token= The official library to interact with Apify API from a web browser, Node.js, JavaScript, or Typescript applications. Star