-
Notifications
You must be signed in to change notification settings - Fork 445
Commit 4b9e7e1
Fix useEffect and useLayoutEffect snippets
Moves the `${1:effect}` tabstop out of the returned function and adds `${2:cleanup}` tabstop inside the returned function.1 parent c615ab3 commit 4b9e7e1
1 file changed
+6
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1235 | 1235 |
| |
1236 | 1236 |
| |
1237 | 1237 |
| |
1238 | + | ||
1238 | 1239 |
| |
1239 | - | ||
1240 | + | ||
1240 | 1241 |
| |
1241 | - | ||
1242 | + | ||
1242 | 1243 |
| |
1243 | 1244 |
| |
1244 | 1245 |
| |
| |||
1290 | 1291 |
| |
1291 | 1292 |
| |
1292 | 1293 |
| |
1294 | + | ||
1293 | 1295 |
| |
1294 | - | ||
1296 | + | ||
1295 | 1297 |
| |
1296 | - | ||
1298 | + | ||
1297 | 1299 |
| |
1298 | 1300 |
| |
1299 | 1301 |
| |
|
0 commit comments