Skip to content
Merged
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
1 change: 0 additions & 1 deletion apps/dashboard/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ NEXT_PUBLIC_TYPESENSE_CONTRACT_API_KEY=
NEXT_PUBLIC_POSTHOG_KEY=""

# required for server wallet management
NEXT_PUBLIC_THIRDWEB_VAULT_URL=""
NEXT_PUBLIC_ENGINE_CLOUD_URL=""


Expand Down
1 change: 0 additions & 1 deletion apps/dashboard/knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"ignoreDependencies": [
"@thirdweb-dev/api",
"@thirdweb-dev/service-utils",
"@thirdweb-dev/vault-sdk",
"thirdweb",
"@types/color",
"fast-xml-parser",
Expand Down
1 change: 0 additions & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@tanstack/react-table": "^8.21.3",
"@thirdweb-dev/api": "workspace:*",
"@thirdweb-dev/service-utils": "workspace:*",
"@thirdweb-dev/vault-sdk": "workspace:*",
"@vercel/functions": "2.2.2",
"@vercel/og": "^0.6.8",
"@workspace/ui": "workspace:*",
Expand Down
3 changes: 0 additions & 3 deletions apps/dashboard/src/@/constants/public-envs.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
export const NEXT_PUBLIC_DASHBOARD_CLIENT_ID =
process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID || "";

export const NEXT_PUBLIC_THIRDWEB_VAULT_URL =
process.env.NEXT_PUBLIC_THIRDWEB_VAULT_URL || "";

export const NEXT_PUBLIC_ENGINE_CLOUD_URL =
process.env.NEXT_PUBLIC_ENGINE_CLOUD_URL || "";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import { updateDefaultProjectWallet } from "../lib/vault.client";
import { CreateServerWallet } from "../server-wallets/components/create-server-wallet.client";
import type { Wallet as EVMWallet } from "../server-wallets/wallet-table/types";
import { CreateSolanaWallet } from "../solana-wallets/components/create-solana-wallet.client";
import { UpgradeSolanaPermissions } from "../solana-wallets/components/upgrade-solana-permissions.client";
import type { SolanaWallet } from "../solana-wallets/wallet-table/types";

type WalletChain = "evm" | "solana";
Expand Down Expand Up @@ -238,7 +237,21 @@ export function ServerWalletsTable(props: ServerWalletsTableProps) {
{/* Table Content */}
{activeChain === "solana" && solanaPermissionError ? (
<div className="p-6">
<UpgradeSolanaPermissions project={project} />
<div className="rounded-lg border border-border bg-background p-6">
<h3 className="font-medium text-base">
Solana access not enabled
</h3>
<p className="mt-1.5 text-muted-foreground text-sm">
This project's vault access tokens were issued before Solana
support existed. Rotate the admin key to reissue them with
Solana permissions.
</p>
<Button asChild className="mt-4" size="sm" variant="outline">
<Link href={`/team/${teamSlug}/${project.slug}/vault`}>
Go to Vault
</Link>
</Button>
</div>
</div>
) : (
<>
Expand Down
Loading
Loading