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
4 changes: 3 additions & 1 deletion e2e/swap-across-zones.test.ts
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

auto format

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ test('swap pathUSD from Zone A into betaUSD on Zone B', async ({ page }) => {
timeout: 120000,
})
await expect(
page.getByText('Withdraw 25 pathUSD from Zone A, swap it, and route betaUSD into Zone B.').first(),
page
.getByText('Withdraw 25 pathUSD from Zone A, swap it, and route betaUSD into Zone B.')
.first(),
).toBeVisible()

await client.send('WebAuthn.removeVirtualAuthenticator', { authenticatorId })
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cva": "1.0.0-beta.4",
"mermaid": "^11.14.0",
"monaco-editor": "^0.55.1",
"ox": "0.14.18",
"ox": "0.14.20",
"posthog-js": "^1.367.0",
"posthog-node": "^5.29.2",
"prool": "^0.2.4",
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions src/components/guides/Demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ function getExplorerHost() {
return tempoModerato.blockExplorers.default.url
}

export function ExplorerLink({ hash }: { hash: string }) {
export function ExplorerLink({ hash, inline = false }: { hash: string; inline?: boolean }) {
const { trackExternalLinkClick } = usePostHogTracking()
const url = `${getExplorerHost()}/tx/${hash}`

return (
<div className="mt-1">
<div className={inline ? 'inline-flex' : 'mt-1'}>
<a
href={url}
target="_blank"
Expand Down Expand Up @@ -101,12 +101,15 @@ export function ReceiptHash({ hash }: { hash: string }) {
)
}

export function ExplorerAccountLink({ address }: { address: string }) {
export function ExplorerAccountLink({
address,
inline = false,
}: { address: string; inline?: boolean }) {
const { trackExternalLinkClick } = usePostHogTracking()
const url = `${getExplorerHost()}/account/${address}`

return (
<div className="mt-1">
<div className={inline ? 'inline-flex' : 'mt-1'}>
<a
href={url}
target="_blank"
Expand Down Expand Up @@ -456,7 +459,7 @@ export function Step(
<div className="flex items-center gap-3.5">
<div
className={cx(
'flex size-7 items-center justify-center rounded-full text-center text-[13px] text-black tabular-nums opacity-40 group-data-[completed=true]:opacity-100 dark:text-white',
'shrink-0 flex size-7 items-center justify-center rounded-full text-center text-[13px] text-black tabular-nums opacity-40 group-data-[completed=true]:opacity-100 dark:text-white',
completed ? 'bg-green3' : 'bg-gray4',
)}
>
Expand Down
Loading
Loading