Skip to content

Commit

Permalink
docs: update docs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaycock committed Jan 1, 2024
1 parent ec9fddd commit 6b426d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
11 changes: 3 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@cloudflare/kv-asset-handler": "~0.3.0",
"@cloudmix-dev/react": "~0.0.17",
"@remix-run/cloudflare": "~2.4.1",
"@remix-run/css-bundle": "~2.4.1",
"@remix-run/react": "~2.4.1",
"@remix-run/server-runtime": "~2.4.1",
"cookie": "~0.6.0",
"isbot": "~4.1.0",
"react": "~18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions www/docs/src/entry.server.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RemixServer } from "@remix-run/react";
import { type EntryContext } from "@remix-run/server-runtime";
import isbot from "isbot";
import { isbot } from "isbot";

// force "browser" export on node (typing is from env.d.ts)
import { renderToReadableStream } from "react-dom/server.browser";
Expand All @@ -23,7 +23,7 @@ export default async function handleRequest(
},
);

if (isbot(request.headers.get("user-agent"))) {
if (isbot(request.headers.get("user-agent") ?? "")) {
await body.allReady;
}

Expand Down

0 comments on commit 6b426d0

Please sign in to comment.