From 9fde9637b0ecb8ecbe2f0b98227be85c90607cc8 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 5 Feb 2021 12:44:38 +0100 Subject: [PATCH] test middleware --- packages/dashboard/src/pages/auth/registration.js | 2 +- packages/dashboard/src/pages/downloads.js | 4 ++-- packages/dashboard/src/pages/index.js | 2 +- packages/dashboard/src/pages/payments.js | 2 +- packages/dashboard/src/pages/recovery.js | 2 +- packages/dashboard/src/pages/uploads.js | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/dashboard/src/pages/auth/registration.js b/packages/dashboard/src/pages/auth/registration.js index 8762dbaa..4898db90 100644 --- a/packages/dashboard/src/pages/auth/registration.js +++ b/packages/dashboard/src/pages/auth/registration.js @@ -1,6 +1,6 @@ import Link from "next/link"; import { Configuration, PublicApi } from "@ory/kratos-client"; -import config from "../../src/config"; +import config from "../../config"; const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public })); diff --git a/packages/dashboard/src/pages/downloads.js b/packages/dashboard/src/pages/downloads.js index 158efec7..f82b2a3b 100644 --- a/packages/dashboard/src/pages/downloads.js +++ b/packages/dashboard/src/pages/downloads.js @@ -1,6 +1,6 @@ import { useState } from "react"; -import Layout from "../src/components/Layout"; -import Table from "../src/components/Table"; +import Layout from "../components/Layout"; +import Table from "../components/Table"; const data = [ { skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" }, diff --git a/packages/dashboard/src/pages/index.js b/packages/dashboard/src/pages/index.js index 53aaf856..7b7ea817 100644 --- a/packages/dashboard/src/pages/index.js +++ b/packages/dashboard/src/pages/index.js @@ -1,4 +1,4 @@ -import Layout from "./components/Layout"; +import Layout from "../components/Layout"; export default function Home() { return ; diff --git a/packages/dashboard/src/pages/payments.js b/packages/dashboard/src/pages/payments.js index a5ff14fa..c56ad3d5 100644 --- a/packages/dashboard/src/pages/payments.js +++ b/packages/dashboard/src/pages/payments.js @@ -1,4 +1,4 @@ -import Layout from "../src/components/Layout"; +import Layout from "../components/Layout"; export default function Payments() { return ( diff --git a/packages/dashboard/src/pages/recovery.js b/packages/dashboard/src/pages/recovery.js index 0076bd86..53ab672c 100644 --- a/packages/dashboard/src/pages/recovery.js +++ b/packages/dashboard/src/pages/recovery.js @@ -1,6 +1,6 @@ import Link from "next/link"; import { Configuration, PublicApi } from "@ory/kratos-client"; -import config from "../../src/config"; +import config from "../config"; const kratos = new PublicApi(new Configuration({ basePath: config.kratos.public })); diff --git a/packages/dashboard/src/pages/uploads.js b/packages/dashboard/src/pages/uploads.js index 543280fe..e99ff14e 100644 --- a/packages/dashboard/src/pages/uploads.js +++ b/packages/dashboard/src/pages/uploads.js @@ -1,6 +1,6 @@ import { useState } from "react"; -import Layout from "../src/components/Layout"; -import Table from "../src/components/Table"; +import Layout from "../components/Layout"; +import Table from "../components/Table"; const data = [ { skylink: "PAL0w4SdA5rFCDGEutgpeQ50Om-YkBabtXVOJAkmedslKw", size: "1 KB", date: "today" },