diff --git a/ionic-template/slice.js b/ionic-template/slice.js index 2dddcd3..d7aceac 100644 --- a/ionic-template/slice.js +++ b/ionic-template/slice.js @@ -10,7 +10,7 @@ const slice = createSlice({ name, initialState, reducers: { - // clear%SubSection% () { + // clear%SubSection% (state) { // state.%subSection% = null // } }, diff --git a/package.json b/package.json index 5294022..4f2cfdb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@launchpadlab/lp-subsection-generator", - "version": "8.0.0", + "version": "8.0.1", "description": "", "main": "index.js", "engines": { diff --git a/template/slice.js b/template/slice.js index 2dddcd3..d7aceac 100644 --- a/template/slice.js +++ b/template/slice.js @@ -10,7 +10,7 @@ const slice = createSlice({ name, initialState, reducers: { - // clear%SubSection% () { + // clear%SubSection% (state) { // state.%subSection% = null // } },