diff --git a/packages/houdini-react/src/runtime/routing/Router.tsx b/packages/houdini-react/src/runtime/routing/Router.tsx index f4160c0c30..94adb0ac4d 100644 --- a/packages/houdini-react/src/runtime/routing/Router.tsx +++ b/packages/houdini-react/src/runtime/routing/Router.tsx @@ -263,9 +263,11 @@ function usePageData({ } } - console.log('assigning pending data', artifactName, value, ${JSON.stringify(variables)}) + console.log('assigning pending data', artifactName, value, ${JSON.stringify( + observer.state.variables + )}) - window.__houdini__pending_variables__[artifactName] = ${JSON.stringify(variables)} + window.__houdini__pending_variables__[artifactName] = ${JSON.stringify(observer.state.variables)} window.__houdini__pending_data__[artifactName] = value window.__houdini__pending_artifacts__[artifactName] = ${JSON.stringify(artifact)}