diff --git a/src/components/header/index.tsx b/src/components/header/index.tsx index 18e65fa..740757c 100644 --- a/src/components/header/index.tsx +++ b/src/components/header/index.tsx @@ -1,8 +1,7 @@ -import React, { useEffect, useState } from "react" +import React from "react" import { DiGithubBadge } from "react-icons/di" import { MdSettings } from "react-icons/md" import Link from "next/link" -import { useTheme } from "next-themes" export function Header() { return ( diff --git a/src/pages/settings/index.tsx b/src/pages/settings/index.tsx index aec9973..c154074 100644 --- a/src/pages/settings/index.tsx +++ b/src/pages/settings/index.tsx @@ -1,6 +1,5 @@ import { createRef, useEffect, useState } from "react" import { Button } from "../../components/button" -import { Card } from "../../components/card" import { Header } from "../../components/header" import { SettingsRelay, diff --git a/src/views/receive/index.tsx b/src/views/receive/index.tsx index 5391c80..ae4b250 100644 --- a/src/views/receive/index.tsx +++ b/src/views/receive/index.tsx @@ -3,7 +3,6 @@ import { QRCodeSVG } from "qrcode.react" import { useEffect, useRef, useState } from "react" import Toastify from "toastify-js" import { Button } from "../../components/button" -import { Card } from "../../components/card" import { getLatestEvent, getReceivePeerKey, sendEncryptedMessage, subscribe } from "../../lib/nostr" import { debounce } from "../../lib/utils" import { NostrEventType, NostrKeysType, NostrType } from "../../types" diff --git a/src/views/send/index.tsx b/src/views/send/index.tsx index 73cc8bd..8c6d2e0 100644 --- a/src/views/send/index.tsx +++ b/src/views/send/index.tsx @@ -5,7 +5,6 @@ import { isMobile } from "react-device-detect" import { Input } from "../../components/input" import { MdQrCodeScanner } from "react-icons/md" import { IconButton } from "../../components/icon-button" -import { Card } from "../../components/card" import { debounce } from "../../lib/utils" import { NostrEventType, NostrKeysType, NostrType } from "../../types" import { subscribe, sendEncryptedMessage, getLatestEvent } from "../../lib/nostr"