From d5e940baa25f9dbf5a23879d7d85e43016e134bd Mon Sep 17 00:00:00 2001 From: Mika Munterud Date: Mon, 9 Dec 2024 13:58:45 +0100 Subject: [PATCH] DIGG-448: commenting out button for modal --- .../entryscape/organisation-page/index.tsx | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/features/entryscape/organisation-page/index.tsx b/features/entryscape/organisation-page/index.tsx index 78d741d0..b7a935ba 100644 --- a/features/entryscape/organisation-page/index.tsx +++ b/features/entryscape/organisation-page/index.tsx @@ -2,17 +2,17 @@ import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import useTranslation from "next-translate/useTranslation"; -import React, { FC, useContext, useEffect, useState } from "react"; +import React, { FC, useContext, useEffect } from "react"; import ArrowRightIcon from "@/assets/icons/arrow-right.svg"; import DiamondIcon from "@/assets/icons/diamond.svg"; import HoldingHandsIcon from "@/assets/icons/holding-hands.svg"; import ListBlockIcon from "@/assets/icons/list-block.svg"; -import QuestionCircleIcon from "@/assets/icons/question-circle.svg"; -import { Button, ButtonLink } from "@/components/button"; +// import QuestionCircleIcon from "@/assets/icons/question-circle.svg"; +import { ButtonLink } from "@/components/button"; import { CustomLink } from "@/components/custom-link"; import { Container } from "@/components/layout/container"; -import { Modal } from "@/components/modal"; +// import { Modal } from "@/components/modal"; import { Heading } from "@/components/typography/heading"; import { DatasetInfo, @@ -27,7 +27,7 @@ export const OrganisationPage: FC = () => { const { setBreadcrumb, iconSize } = useContext(SettingsContext); const entry = useContext(EntrystoreContext); const { t } = useTranslation(); - const [showInfo, setShowInfo] = useState(false); + // const [showInfo, setShowInfo] = useState(false); useEffect(() => { setBreadcrumb?.({ @@ -83,23 +83,25 @@ export const OrganisationPage: FC = () => { className="mb-lg inline-flex items-center gap-[0.625rem]" > {t("common|datasets")} -