@thoughtbot/superglue 2.0.0-alpha.2 → 2.0.0-alpha.3
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/cjs/superglue.cjs
CHANGED
|
@@ -7157,6 +7157,9 @@ var prepareStore = (store, initialPage, path) => {
|
|
|
7157
7157
|
pageKey: initialPageKey
|
|
7158
7158
|
})
|
|
7159
7159
|
);
|
|
7160
|
+
store.dispatch(
|
|
7161
|
+
receiveResponse({ pageKey: initialPageKey, response: initialPage })
|
|
7162
|
+
);
|
|
7160
7163
|
store.dispatch(saveAndProcessPage(initialPageKey, initialPage));
|
|
7161
7164
|
store.dispatch(setCSRFToken({ csrfToken }));
|
|
7162
7165
|
};
|