Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
iganulevics committed Aug 2, 2024
1 parent c3e8ffa commit b059cf1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/entry.server.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default async function handleRequest(

const body = await renderToReadableStream(
<NonceProvider>
<RemixServer context={remixContext} url={request.url} />
<RemixServer context={remixContext} url={request.url}/>
</NonceProvider>,
{
nonce,
Expand Down
8 changes: 5 additions & 3 deletions app/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,15 @@ export default function App() {
<Links />
</head>
<body>
<NostoProvider shopifyMarkets={false} account="shopify-11368366139" RecommendationComponent={<NostoSlot />}>
<NostoProvider shopifyMarkets={true} account="shopify-11368366139" RecommendationComponent={<NostoSlot />}>
<Layout {...data}>
<Outlet />
</Layout>
<ScrollRestoration nonce={nonce} />
<Scripts nonce={nonce} />
{/*<ScrollRestoration nonce={nonce} />*/}
{/*<Scripts nonce={nonce} />*/}
</NostoProvider>
<ScrollRestoration nonce={nonce}/>
<Scripts nonce={nonce}/>
</body>
</html>
);
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
"prettier": "@shopify/prettier-config",
"dependencies": {
"@esm-bundle/react-dom": "^17.0.2-fix.0",
"react-dom": "^18.3.1",
"@nosto/shopify-hydrogen": "https://github.com/Nosto/shopify-hydrogen#ads-4544-upgrade-major-version",
"@remix-run/react": "^2.8.0",
"@remix-run/server-runtime": "^2.8.0",
"@nosto/shopify-hydrogen": "github:Nosto/shopify-hydrogen#update_hydrogen",
"@remix-run/react": "^2.10.3",
"@remix-run/server-runtime": "^2.10.3",
"@shopify/cli": "3.59.2",
"@shopify/cli-hydrogen": "^8.0.4",
"@shopify/hydrogen": "2024.4.2",
"@shopify/hydrogen": "2024.7.2",
"@shopify/remix-oxygen": "^2.0.4",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"isbot": "^3.8.0",
"react": "^18.2.0"
"react": "^18.2.0",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@remix-run/dev": "^2.8.0",
"@remix-run/eslint-config": "^2.8.0",
"@remix-run/dev": "^2.10.3",
"@remix-run/eslint-config": "^2.10.3",
"@shopify/hydrogen-codegen": "^0.3.1",
"@shopify/mini-oxygen": "^3.0.2",
"@shopify/oxygen-workers-types": "^4.0.0",
Expand All @@ -45,8 +45,8 @@
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"vite": "^5.1.0",
"vite-tsconfig-paths": "^4.3.1",
"vite-plugin-commonjs": "^0.10.1"
"vite-plugin-commonjs": "^0.10.1",
"vite-tsconfig-paths": "^4.3.1"
},
"engines": {
"node": ">=18.0.0"
Expand Down

0 comments on commit b059cf1

Please sign in to comment.