mirror of
https://github.com/aljazceru/sendstr-web.git
synced 2025-12-17 06:24:24 +01:00
Remove unused module imports.
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user