Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Refactor sidebar structure for better organization of Account Abstrac…
Browse files Browse the repository at this point in the history
…tion links
  • Loading branch information
joaquim-verges committed Aug 1, 2024
1 parent ce404f1 commit 387bdb7
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions src/app/typescript/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,23 +119,32 @@ export const sidebar: SideBar = {
{
name: "Account Abstraction",
links: [
"smartWallet",
"addAdmin",
"removeAdmin",
"addSessionKey",
"removeSessionKey",
"getAccountsOfSigner",
"getAllActiveSigners",
"getPermissionsForSigner",
"createUnsignedUserOp",
"signUserOp",
"bundleUserOp",
"waitForUserOpReceipt",
].map((name) => ({
name,
href: `${slug}/${name}`,
icon: <CodeIcon />,
})),
...[
"smartWallet",
"signUserOp",
"bundleUserOp",
"waitForUserOpReceipt",
].map((name) => ({
name,
href: `${slug}/${name}`,
icon: <CodeIcon />,
})),
{ separator: true },
...[
"addAdmin",
"removeAdmin",
"addSessionKey",
"removeSessionKey",
"getAccountsOfSigner",
"getAllActiveSigners",
"getPermissionsForSigner",
"createUnsignedUserOp",
].map((name) => ({
name,
href: `${slug}/erc4337/${name}`,
icon: <CodeIcon />,
})),
],
},
{
name: "Auth (SIWE)",
Expand Down

0 comments on commit 387bdb7

Please sign in to comment.