From 5b8a720ece8dc7e055b6ff16ef409ccbc1f3ab4d Mon Sep 17 00:00:00 2001 From: Strek Date: Fri, 18 Feb 2022 23:35:22 +0530 Subject: [PATCH] Initial Commit (#4358) --- beta/src/components/MDX/YouWillLearnCard.tsx | 2 +- beta/src/pages/apis/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beta/src/components/MDX/YouWillLearnCard.tsx b/beta/src/components/MDX/YouWillLearnCard.tsx index b8b1261a..83987602 100644 --- a/beta/src/components/MDX/YouWillLearnCard.tsx +++ b/beta/src/components/MDX/YouWillLearnCard.tsx @@ -14,7 +14,7 @@ interface YouWillLearnCardProps { function YouWillLearnCard({title, path, children}: YouWillLearnCardProps) { return ( -
+

{title} diff --git a/beta/src/pages/apis/index.md b/beta/src/pages/apis/index.md index a40d48a4..63cd2c3e 100644 --- a/beta/src/pages/apis/index.md +++ b/beta/src/pages/apis/index.md @@ -52,7 +52,7 @@ Declares a ref. ```js function MyComponent() { - const inputRef = useState(null); + const inputRef = useRef(null); // ... ```