Skip to content

Commit a53d3f7

Browse files
committed
fix: getSnapshotBeforeUpdate snippet error
1 parent aba772f commit a53d3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/snippets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
"getSnapshotBeforeUpdate": {
301301
"prefix": "gsbu",
302302
"body": [
303-
"static getSnapshotBeforeUpdate(prevProps: ${1:any}, prevState: ${2:any}) {",
303+
"getSnapshotBeforeUpdate(prevProps: ${1:any}, prevState: ${2:any}) {",
304304
" ${0}",
305305
"}"
306306
],

0 commit comments

Comments
 (0)