From da1e05c860fd04620fe7c6b6e8b918435d87b3ea Mon Sep 17 00:00:00 2001 From: Liang Gong Date: Thu, 16 May 2024 12:33:10 -0700 Subject: [PATCH] fix(website): fix next.js example website 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 --- packages/e2e/static/example/pages/_document.js | 3 +-- packages/e2e/static/example/pages/index.js | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/e2e/static/example/pages/_document.js b/packages/e2e/static/example/pages/_document.js index 714b7063e..7c108a590 100644 --- a/packages/e2e/static/example/pages/_document.js +++ b/packages/e2e/static/example/pages/_document.js @@ -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" /> diff --git a/packages/e2e/static/example/pages/index.js b/packages/e2e/static/example/pages/index.js index 41ca2fe35..25e4a9093 100644 --- a/packages/e2e/static/example/pages/index.js +++ b/packages/e2e/static/example/pages/index.js @@ -17,17 +17,13 @@ export default function Home() {
- -

Example 1 →

-
+

Example 1 →

Detached DOM element

- -

Example 2 →

-
+

Example 2 →

Leaked event listener