From 3eacd9b8881fb3bab10a8610f338e4070e35463f Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Mon, 14 Feb 2022 02:36:03 +0530 Subject: [PATCH 1/2] typo: changed 'useContent' to 'useContext' --- snippets/react-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/react-javascript.json b/snippets/react-javascript.json index e8e63c8..ccf70f3 100644 --- a/snippets/react-javascript.json +++ b/snippets/react-javascript.json @@ -40,7 +40,7 @@ "body": ["const [${1}, set${1}] = useState(${2});"], "description": "useState" }, - "React useContent": { + "React useContext": { "prefix": "ruc", "body": ["const ${1} = useContext(${2});"], "description": "useContent" From 209fc1fab6acacd596d7a3590c3fcb86b30d1697 Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Mon, 14 Feb 2022 02:43:53 +0530 Subject: [PATCH 2/2] typo: changed 'useContent' to 'useContext' --- snippets/react-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/react-javascript.json b/snippets/react-javascript.json index ccf70f3..81a2d4d 100644 --- a/snippets/react-javascript.json +++ b/snippets/react-javascript.json @@ -43,7 +43,7 @@ "React useContext": { "prefix": "ruc", "body": ["const ${1} = useContext(${2});"], - "description": "useContent" + "description": "useContext" }, "React useRef": { "prefix": "rur",