Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrheault committed Sep 22, 2024
1 parent bff5bc9 commit 9d41b72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _Explorer Context Menu_
| `rimr` | JavaScript/TypeScript: import react |
| `rfc` | JavaScript/TypeScript: React functional component |
| `rfce` | JavaScript/TypeScript: React functional component with useEffect |
| `rsc` | JavaScript/TypeScript: React functional component with useState |
| `rfcs` | JavaScript/TypeScript: React functional component with useState |
| `rctx` | JavaScript/TypeScript: React context with provider and hook |
| `nxpg` | NextJS page file |
| `nxlayout` | NextJS layout |
Expand Down
4 changes: 2 additions & 2 deletions src/snippets/js-react.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
],
"description": "JavaScript: React functional component with useEffect"
},
"rsc": {
"prefix": "rsc",
"rfcs": {
"prefix": "rfcs",
"body": [
"import React, { useState } from 'react';",
"",
Expand Down
4 changes: 2 additions & 2 deletions src/snippets/ts-react.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
],
"description": "TypeScript: React functional component with useEffect"
},
"rsc": {
"prefix": "rsc",
"rfcs": {
"prefix": "rfcs",
"body": [
"import React, { useState } from 'react';",
"",
Expand Down

0 comments on commit 9d41b72

Please sign in to comment.