Remove unused keyCheck hook (#2395)
This commit is contained in:
parent
cbc41c0d99
commit
b96b5d0c89
@ -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()
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user