Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import 'nprogress/nprogress.css'
import { ChainFeeProvider } from '@/components/chain-fee.js'
import dynamic from 'next/dynamic'
import { HasNewNotesProvider } from '@/components/use-has-new-notes'
import WalletsProvider from '@/wallets/client/context'
import { WalletsProvider } from '@/wallets/client/hooks'
import FaviconProvider from '@/components/favicon'

const PWAPrompt = dynamic(() => import('react-ios-pwa-prompt'), { ssr: false })
Expand Down
6 changes: 4 additions & 2 deletions pages/wallets/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { getGetServerSideProps } from '@/api/ssrApollo'
import { Button } from 'react-bootstrap'
import { useWallets, useTemplates, DndProvider, KeyStatus, useWalletsLoading, useKeyError, useWalletsError } from '@/wallets/client/context'
import {
DndProvider, KeyStatus, useWallets, useTemplates, useWalletsLoading, useKeyError, useWalletsError,
usePassphrasePrompt, useShowPassphrase, useSetWalletPriorities
} from '@/wallets/client/hooks'
import { WalletCard, WalletLayout, WalletLayoutHeader, WalletLayoutLink, WalletLayoutSubHeader } from '@/wallets/client/components'
import styles from '@/styles/wallet.module.css'
import { usePassphrasePrompt, useShowPassphrase, useSetWalletPriorities } from '@/wallets/client/hooks'
import { WalletSearch } from '@/wallets/client/components/search'
import { useMemo, useState } from 'react'
import { walletDisplayName } from '@/wallets/lib/util'
Expand Down
5 changes: 3 additions & 2 deletions wallets/client/components/debug.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { formatBytes } from '@/lib/format'
import { useEffect, useState } from 'react'
import { useKeyHash, useKeyUpdatedAt } from '@/wallets/client/context'
import { useDiagnostics, useRemoteKeyHash, useRemoteKeyHashUpdatedAt, useWalletsUpdatedAt } from '@/wallets/client/hooks'
import {
useKeyHash, useKeyUpdatedAt, useDiagnostics, useRemoteKeyHash, useRemoteKeyHashUpdatedAt, useWalletsUpdatedAt
} from '@/wallets/client/hooks'
import { timeSince } from '@/lib/time'

export function WalletDebugSettings () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useDndHandlers } from '@/wallets/client/context'
import { useDndHandlers } from '@/wallets/client/hooks'
import classNames from 'classnames'
import styles from '@/styles/dnd.module.css'

Expand Down
2 changes: 1 addition & 1 deletion wallets/client/components/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './card'
export * from './draggable'
export * from './dnd'
export * from './form/index'
export * from './layout'
export * from './passphrase'
Expand Down
7 changes: 0 additions & 7 deletions wallets/client/context/index.js

This file was deleted.

93 changes: 0 additions & 93 deletions wallets/client/context/provider.js

This file was deleted.

64 changes: 0 additions & 64 deletions wallets/client/context/reducer.js

This file was deleted.

Loading