Skip to content

Commit

Permalink
Upgrade test app to NextJS 15
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Dec 19, 2024
1 parent b85ea03 commit b8dd760
Show file tree
Hide file tree
Showing 8 changed files with 1,437 additions and 797 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import dynamic from "next/dynamic";
import React from "react";

const BrowserSideApp = dynamic(() => import("../components/appContent"), {
ssr: false,
});

export default function Home() {
return <BrowserSideApp />;
export default function TestAppLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>
<main>{children}</main>
</body>
</html>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

"use client";

import {
login,
logout,
Expand All @@ -34,7 +36,7 @@ import {
TESTID_SESSION_STATUS,
} from "@inrupt/internal-playwright-testids";
import { useState, useEffect } from "react";
import AccessController from "../accessGrants";
import AccessController from "../components/accessGrants";

// This is the content of the file uploaded manually at SHARED_FILE_IRI.
const DEFAULT_ISSUER = "https://login.inrupt.com/";
Expand Down
Loading

0 comments on commit b8dd760

Please sign in to comment.