From 7fd3cc185f0ac0545e269f4bced71310c239c9fa Mon Sep 17 00:00:00 2001 From: jahooma Date: Thu, 16 Dec 2021 22:12:33 -0600 Subject: [PATCH] Remove headlessui and heroicons from package.json --- web/components/header.tsx | 90 +++++++++++++++++++-------------------- web/package-lock.json | 34 --------------- web/package.json | 2 - 3 files changed, 43 insertions(+), 83 deletions(-) diff --git a/web/components/header.tsx b/web/components/header.tsx index e3cb2b69..c9d51619 100644 --- a/web/components/header.tsx +++ b/web/components/header.tsx @@ -1,7 +1,5 @@ -import { useEffect, useState } from 'react' import clsx from 'clsx' import Link from 'next/link' -import { Popover } from '@headlessui/react' import { useUser } from '../hooks/use-user' @@ -49,54 +47,52 @@ export function Header(props: { darkBackground?: boolean }) { const { darkBackground } = props return ( - -
- +
) } diff --git a/web/package-lock.json b/web/package-lock.json index 08589006..12166edf 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -6,8 +6,6 @@ "": { "name": "mantic", "dependencies": { - "@headlessui/react": "1.4.2", - "@heroicons/react": "1.0.5", "@nivo/core": "0.74.0", "@nivo/line": "0.74.0", "clsx": "1.1.1", @@ -1587,26 +1585,6 @@ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz", "integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==" }, - "node_modules/@headlessui/react": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.2.tgz", - "integrity": "sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug==", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "react": "^16 || ^17 || ^18", - "react-dom": "^16 || ^17 || ^18" - } - }, - "node_modules/@heroicons/react": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz", - "integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==", - "peerDependencies": { - "react": ">= 16" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", @@ -9461,18 +9439,6 @@ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz", "integrity": "sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==" }, - "@headlessui/react": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.4.2.tgz", - "integrity": "sha512-N8tv7kLhg9qGKBkVdtg572BvKvWhmiudmeEpOCyNwzOsZHCXBtl8AazGikIfUS+vBoub20Fse3BjawXDVPPdug==", - "requires": {} - }, - "@heroicons/react": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-1.0.5.tgz", - "integrity": "sha512-UDMyLM2KavIu2vlWfMspapw9yii7aoLwzI2Hudx4fyoPwfKfxU8r3cL8dEBXOjcLG0/oOONZzbT14M1HoNtEcg==", - "requires": {} - }, "@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", diff --git a/web/package.json b/web/package.json index f0f31248..5d3ca4ce 100644 --- a/web/package.json +++ b/web/package.json @@ -10,8 +10,6 @@ "prepare": "cd .. && husky install web/.husky" }, "dependencies": { - "@headlessui/react": "1.4.2", - "@heroicons/react": "1.0.5", "@nivo/core": "0.74.0", "@nivo/line": "0.74.0", "clsx": "1.1.1",