We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d11760 commit 7c5a52fCopy full SHA for 7c5a52f
packages/cli/src/add/templates/scroll/module.js
@@ -59,7 +59,7 @@ exports.module = (content, opts = {}) => {
59
}
60
contents += ` };\n`;
61
contents += ` },\n`;
62
- contents += ` ${pagingType}_GET_REFRESH(state, { type, page }) {\n`;
+ contents += ` ${pagingType}_GET_REFRESH(state, { data, param: { type, page } }) {\n`;
63
contents += ` state.listInfo = {\n`;
64
contents += ` ...initialState.listInfo,\n`;
65
switch (type) {
0 commit comments