Skip to content

Commit 0aed560

Browse files
committed
f
1 parent a61a258 commit 0aed560

File tree

4 files changed

+466
-4
lines changed

4 files changed

+466
-4
lines changed

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@hazae41/chacha20poly1305": "^2.0.1",
2020
"@hazae41/chacha20poly1305-wasm": "^2.0.0",
2121
"@hazae41/chemin": "^2.1.6",
22+
"@hazae41/cursor": "^2.1.3",
2223
"@hazae41/immutable": "^2.0.24",
2324
"@hazae41/jsonrpc": "^1.1.11",
2425
"@hazae41/kdbx": "^0.2.8",
@@ -33,6 +34,7 @@
3334
"@noble/curves": "^2.0.1",
3435
"@noble/hashes": "^2.0.1",
3536
"@nuintun/qrcode": "^5.0.2",
37+
"@scure/base": "^2.0.0",
3638
"react": "^19.2.3",
3739
"react-dom": "^19.2.3"
3840
},

src/mods/app/session/account/mod.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import React, { Fragment, MouseEvent, useCallback, useMemo, useState } from "rea
1111
import { flushSync } from "react-dom";
1212
import { CardAccountAddMenuAnchor, CardAccountAddPage, CardAccountPage } from "./card/mod.tsx";
1313
import { EthereumAccountAddMenuAnchor, EthereumAccountPage, StandaloneEthereumAccountAddPage } from "./ethereum/mod.tsx";
14+
import { MoneroAccountAddMenuAnchor, MoneroAccountPage, StandaloneMoneroAccountAddPage } from "./monero/mod.tsx";
1415
import { PasswordAccountAddMenuAnchor, PasswordAccountAddPage, PasswordAccountPage } from "./password/mod.tsx";
1516
import { SeedAccountAddMenuAnchor, SeedAccountAddPage, SeedAccountPage } from "./seed/mod.tsx";
1617
import { SolanaAccountAddMenuAnchor, SolanaAccountPage, StandaloneSolanaAccountAddPage } from "./solana/mod.tsx";
@@ -68,7 +69,7 @@ export function AccountCardInGrid(props: { $entry: KDBX.Inner.KeePassFile.Entry
6869
return // <SessionBitcoinAccountPage $entry={$entry} />
6970

7071
if (type === "monero")
71-
return // <SessionMoneroAccountPage $entry={$entry} />
72+
return <MoneroAccountPage $entry={$entry} />
7273

7374
if (type === "seed")
7475
return <SeedAccountPage $entry={$entry} />
@@ -419,16 +420,23 @@ export function CryptoAccountAddMenu() {
419420
<PathBoard>
420421
<StandaloneSolanaAccountAddPage />
421422
</PathBoard>}
423+
{hash.url.pathname === "/bitcoin" &&
424+
<PathBoard>
425+
{/* <StandaloneBitcoinAccountAddPage /> */}
426+
</PathBoard>}
427+
{hash.url.pathname === "/monero" &&
428+
<PathBoard>
429+
<StandaloneMoneroAccountAddPage />
430+
</PathBoard>
431+
}
422432
</SubpathProvider>
423433
<div className="flex flex-col text-left gap-2">
424434
<EthereumAccountAddMenuAnchor />
425435
<WideNakedMenuAnchor aria-disabled>
426436
Bitcoin
427437
</WideNakedMenuAnchor>
428438
<SolanaAccountAddMenuAnchor />
429-
<WideNakedMenuAnchor aria-disabled>
430-
Monero
431-
</WideNakedMenuAnchor>
439+
<MoneroAccountAddMenuAnchor />
432440
</div>
433441
</Fragment>
434442
}

0 commit comments

Comments
 (0)