Skip to content

Commit

Permalink
fix(website): fix next.js example website
Browse files Browse the repository at this point in the history
Summary: Fix example website build failure due to the `next` dependency upgrade that fixes a security concern.

Reviewed By: tulga1970

Differential Revision: D57227878

fbshipit-source-id: be384b98a72b7720bde385cd2f674fe78081fef9
  • Loading branch information
JacksonGL authored and facebook-github-bot committed May 16, 2024
1 parent eebc764 commit da1e05c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions packages/e2e/static/example/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export default function Document() {
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"
// eslint-disable-next-line react/no-unknown-property
crossorigin="anonymous"
crossOrigin="anonymous"
/>
</Head>
<body>
Expand Down
8 changes: 2 additions & 6 deletions packages/e2e/static/example/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ export default function Home() {
<div className="row">
<div className="col-md-3">
<Link href="/examples/detached-dom">
<a>
<h2>Example 1 &rarr;</h2>
</a>
<h2>Example 1 &rarr;</h2>
</Link>
<p>Detached DOM element</p>
</div>
<div className="col-md-3">
<Link href="/examples/oversized-object">
<a>
<h2>Example 2 &rarr;</h2>
</a>
<h2>Example 2 &rarr;</h2>
</Link>
<p>Leaked event listener</p>
</div>
Expand Down

0 comments on commit da1e05c

Please sign in to comment.