@thoughtbot/superglue 2.0.0-alpha.2 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action_creators.mjs +1 -1
- package/dist/{chunk-EU2SLL5L.mjs → chunk-I4A45IH4.mjs} +2 -2
- package/dist/{chunk-EU2SLL5L.mjs.map → chunk-I4A45IH4.mjs.map} +1 -1
- package/dist/cjs/action_creators.cjs +1 -1
- package/dist/cjs/action_creators.cjs.map +1 -1
- package/dist/cjs/superglue.cjs +4 -1
- package/dist/cjs/superglue.cjs.map +1 -1
- package/dist/superglue.mjs +4 -1
- package/dist/superglue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/superglue.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
ujsHandlers,
|
|
34
34
|
unproxy,
|
|
35
35
|
urlToPageKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-I4A45IH4.mjs";
|
|
37
37
|
|
|
38
38
|
// node_modules/lodash/lodash.js
|
|
39
39
|
var require_lodash = __commonJS({
|
|
@@ -6077,6 +6077,9 @@ var prepareStore = (store, initialPage, path) => {
|
|
|
6077
6077
|
pageKey: initialPageKey
|
|
6078
6078
|
})
|
|
6079
6079
|
);
|
|
6080
|
+
store.dispatch(
|
|
6081
|
+
receiveResponse({ pageKey: initialPageKey, response: initialPage })
|
|
6082
|
+
);
|
|
6080
6083
|
store.dispatch(saveAndProcessPage(initialPageKey, initialPage));
|
|
6081
6084
|
store.dispatch(setCSRFToken({ csrfToken }));
|
|
6082
6085
|
};
|