Remove unused module imports.

This commit is contained in:
Arne Pedersen
2023-01-02 09:52:38 +01:00
parent be77266d17
commit fff15fb977
4 changed files with 1 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
import React, { useEffect, useState } from "react" import React from "react"
import { DiGithubBadge } from "react-icons/di" import { DiGithubBadge } from "react-icons/di"
import { MdSettings } from "react-icons/md" import { MdSettings } from "react-icons/md"
import Link from "next/link" import Link from "next/link"
import { useTheme } from "next-themes"
export function Header() { export function Header() {
return ( return (

View File

@@ -1,6 +1,5 @@
import { createRef, useEffect, useState } from "react" import { createRef, useEffect, useState } from "react"
import { Button } from "../../components/button" import { Button } from "../../components/button"
import { Card } from "../../components/card"
import { Header } from "../../components/header" import { Header } from "../../components/header"
import { import {
SettingsRelay, SettingsRelay,

View File

@@ -3,7 +3,6 @@ import { QRCodeSVG } from "qrcode.react"
import { useEffect, useRef, useState } from "react" import { useEffect, useRef, useState } from "react"
import Toastify from "toastify-js" import Toastify from "toastify-js"
import { Button } from "../../components/button" import { Button } from "../../components/button"
import { Card } from "../../components/card"
import { getLatestEvent, getReceivePeerKey, sendEncryptedMessage, subscribe } from "../../lib/nostr" import { getLatestEvent, getReceivePeerKey, sendEncryptedMessage, subscribe } from "../../lib/nostr"
import { debounce } from "../../lib/utils" import { debounce } from "../../lib/utils"
import { NostrEventType, NostrKeysType, NostrType } from "../../types" import { NostrEventType, NostrKeysType, NostrType } from "../../types"

View File

@@ -5,7 +5,6 @@ import { isMobile } from "react-device-detect"
import { Input } from "../../components/input" import { Input } from "../../components/input"
import { MdQrCodeScanner } from "react-icons/md" import { MdQrCodeScanner } from "react-icons/md"
import { IconButton } from "../../components/icon-button" import { IconButton } from "../../components/icon-button"
import { Card } from "../../components/card"
import { debounce } from "../../lib/utils" import { debounce } from "../../lib/utils"
import { NostrEventType, NostrKeysType, NostrType } from "../../types" import { NostrEventType, NostrKeysType, NostrType } from "../../types"
import { subscribe, sendEncryptedMessage, getLatestEvent } from "../../lib/nostr" import { subscribe, sendEncryptedMessage, getLatestEvent } from "../../lib/nostr"