Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored May 6, 2024
1 parent 2181288 commit 1087c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .changeset/nasty-vans-brake.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@remix-run/react": minor
"@remix-run/react": patch
---

Allow a nonce to be set on single fetch stream transfer inline scripts
10 changes: 1 addition & 9 deletions integration/single-fetch-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@ test.describe("single-fetch", () => {
files: {
...files,
"app/root.tsx": js`
import { Form, Link, Links, Meta, Outlet, Scripts } from "@remix-run/react";
import { Links, Meta, Outlet, Scripts } from "@remix-run/react";
export function loader() {
return {
Expand All @@ -2494,14 +2494,6 @@ test.describe("single-fetch", () => {
<Links />
</head>
<body>
<Link to="/">Home</Link><br/>
<Link to="/data">Data</Link><br/>
<Link to="/a/b/c">/a/b/c</Link><br/>
<Form method="post" action="/data">
<button type="submit" name="key" value="value">
Submit
</button>
</Form>
<Outlet />
<Scripts nonce="the-nonce" />
</body>
Expand Down

0 comments on commit 1087c22

Please sign in to comment.