From bf935130abb8bc2070203c77e03db9521f2795a8 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Fri, 6 Aug 2021 15:09:44 +0200 Subject: [PATCH] eslint session comment --- pages/integrations/[integration].tsx | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pages/integrations/[integration].tsx b/pages/integrations/[integration].tsx index c2a17af0b5..9c24e77724 100644 --- a/pages/integrations/[integration].tsx +++ b/pages/integrations/[integration].tsx @@ -5,13 +5,13 @@ import Shell from "../../components/Shell"; import { useState } from "react"; import { useRouter } from "next/router"; import { useSession, getSession } from "next-auth/client"; -import Loader from '@components/Loader'; +import Loader from "@components/Loader"; export default function Integration(props) { const router = useRouter(); // eslint-disable-next-line @typescript-eslint/no-unused-vars const [session, loading] = useSession(); - + const [showAPIKey, setShowAPIKey] = useState(false); if (loading) { @@ -41,27 +41,27 @@ export default function Integration(props) { return (
- {getIntegrationName(props.integration.type)} | Integrations | Calendso + {getIntegrationName(props.integration.type)} App | Calendso - -
-
+ +
+

Integration Details

- Information about your {getIntegrationName(props.integration.type)} integration. + Information about your {getIntegrationName(props.integration.type)} App.

-
Integration name
+
App name
{getIntegrationName(props.integration.type)}
-
Integration type
+
App Category
{getIntegrationType(props.integration.type)}
@@ -91,18 +91,18 @@ export default function Integration(props) {
-
+
-

Delete this integration

+

Delete this app

-

Once you delete this integration, it will be permanently removed.

+

Once you delete this app, it will be permanently removed.

@@ -115,6 +115,7 @@ export default function Integration(props) { } export async function getServerSideProps(context) { + // eslint-disable-next-line @typescript-eslint/no-unused-vars const session = await getSession(context); const integration = await prisma.credential.findFirst({