Skip to content
Draft
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
7 changes: 6 additions & 1 deletion .storybook/vitest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ import * as projectAnnotations from './preview';
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
const project = setProjectAnnotations([projectAnnotations]);

beforeAll(project.beforeAll);
try {
beforeAll(project.beforeAll);
} catch (error) {
console.error('Failed to set up beforeAll hook:', error);
throw error;
}
2 changes: 1 addition & 1 deletion app/components/account/TokenAccountSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function FungibleTokenMintAccountCard({
<td>Bridged Asset Contract</td>
<td className="text-lg-end">
<Copyable text={assetContractAddress}>
<a href={tokenInfo.extensions.bridgeContract} target="_blank" rel="noreferrer">
<a href={tokenInfo.extensions.assetContract} target="_blank" rel="noreferrer">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this getting changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{assetContractAddress}
</a>
</Copyable>
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"gen": "pnpx shadcn@^2.4.0 add",
"coverage": "vitest --coverage",
"test": "vitest --project specs --watch",
"test:sb": "vitest --project storybook --watch",
"test:ci": "vitest --project specs run",
"test:sb": "vitest --project storybook",
"sb": "storybook dev -p 6006",
"build-sb": "storybook build"
},
Expand Down Expand Up @@ -46,6 +46,7 @@
"@solana/web3.js": "^1.66.6",
"@solflare-wallet/utl-sdk": "^1.4.0",
"@sqds/multisig": "^2.1.3",
"@storybook/addon-vitest": "0.0.0-pr-31014-sha-9708fd9e",
"@types/bn.js": "5.1.0",
"axios": "^1.8.2",
"bignumber.js": "^9.0.2",
Expand Down Expand Up @@ -93,7 +94,6 @@
"web3js-experimental": "npm:@solana/[email protected]"
},
"devDependencies": {
"@chromatic-com/storybook": "^3",
"@mdx-js/react": "^3.1.0",
"@solana/eslint-config-solana": "^1.0.1",
"@solana/prettier-config-solana": "^0.0.2",
Expand All @@ -102,8 +102,8 @@
"@storybook/addon-onboarding": "^8.6.12",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/blocks": "^8.6.12",
"@storybook/experimental-addon-test": "^8.6.12",
"@storybook/experimental-nextjs-vite": "8.6.12",
"@storybook/experimental-addon-test": "=8.6.12",
"@storybook/experimental-nextjs-vite": "=8.6.12",
"@storybook/manager-api": "^8.6.12",
"@storybook/react": "^8.6.12",
"@storybook/test": "^8.6.12",
Expand Down Expand Up @@ -136,7 +136,7 @@
"postcss": "^8.5.3",
"postcss-import": "^16.1.0",
"[email protected]": "link:tailwindcss/[email protected]",
"prettier": "^2.8.7",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "~0.4.1",
"react-scan": "^0.0.26",
"sass": "^1.53.0",
Expand Down
Loading