Remove unused keyCheck hook (#2395)

This commit is contained in:
ekzyis 2025-08-05 18:47:25 +02:00 committed by GitHub
parent cbc41c0d99
commit b96b5d0c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -28,9 +28,6 @@ export function useServerWallets () {
}, [query]) }, [query])
} }
export function useKeyCheck () {
}
export function useAutomatedRetries () { export function useAutomatedRetries () {
const waitForWalletPayment = useWalletPayment() const waitForWalletPayment = useWalletPayment()
const invoiceHelper = useInvoice() const invoiceHelper = useInvoice()

View File

@ -1,6 +1,6 @@
import { createContext, useContext, useReducer } from 'react' import { createContext, useContext, useReducer } from 'react'
import walletsReducer from './reducer' import walletsReducer from './reducer'
import { useServerWallets, useKeyCheck, useAutomatedRetries, useKeyInit, useWalletMigration } from './hooks' import { useServerWallets, useAutomatedRetries, useKeyInit, useWalletMigration } from './hooks'
import { WebLnProvider } from '@/wallets/lib/protocols/webln' import { WebLnProvider } from '@/wallets/lib/protocols/webln'
// https://react.dev/learn/scaling-up-with-reducer-and-context // https://react.dev/learn/scaling-up-with-reducer-and-context
@ -78,7 +78,6 @@ export default function WalletsProvider ({ children }) {
function WalletHooks ({ children }) { function WalletHooks ({ children }) {
useServerWallets() useServerWallets()
useKeyCheck()
useAutomatedRetries() useAutomatedRetries()
useKeyInit() useKeyInit()