Skip to content

Commit 2fc57d6

Browse files
authored
Remove 'cleanUp =' from ueh
'cleanUp =' is an error in ueh
1 parent 8706a22 commit 2fc57d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"body": [
1212
"useEffect(() => {",
1313
"\t$1",
14-
"\n\treturn cleanUp = () => {",
14+
"\n\treturn () => {",
1515
"\t\t$2",
1616
"\t}",
1717
"}, [${3}]);$0"
@@ -88,4 +88,4 @@
8888
"const $1 = $2 => dispatch($3);"
8989
]
9090
}
91-
}
91+
}

0 commit comments

Comments
 (0)