diff --git a/bench/react-hello-world/react-hello-world.deno.jsx b/bench/react-hello-world/react-hello-world.deno.jsx index 2b0bb9b74b..fabbfcfcb9 100644 --- a/bench/react-hello-world/react-hello-world.deno.jsx +++ b/bench/react-hello-world/react-hello-world.deno.jsx @@ -1,11 +1,11 @@ import { renderToReadableStream } from "https://esm.run/react-dom/server"; -import { serve } from "https://deno.land/std@0.146.0/http/server.ts"; import * as React from "https://esm.run/react"; const App = () => (

Hello World

+

This is an example.

); @@ -17,7 +17,7 @@ const headers = { }, }; -await serve( +Deno.serve( async (req) => { return new Response(await renderToReadableStream(), headers); },