Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBigBoss committed Jul 1, 2024
1 parent c39226e commit 6a024cc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/app/features/account/settings/SettingsNavLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function SettingsNavLink({
$md={{ fontSize: '$5' }}
fontWeight={isActiveRoute ? 'bold' : '300'}
color={isActiveRoute ? iconActiveColor : iconInActiveColor}
pl="$4"
>
{text}
</Paragraph>
Expand Down
9 changes: 6 additions & 3 deletions packages/app/features/account/settings/backup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ const WebAuthnCred = ({
const link = useLink({
href: `/account/settings/backup/confirm/${cred?.id}`,
})
const isActiveUnsynced = isActive && !onchainSlot // somehow active onchain, but send.app doesn't know about it (strongmind check)
return (
<YStack
Expand Down Expand Up @@ -313,7 +312,7 @@ const WebAuthnCred = ({
}`}
</Paragraph>
)
case !isActive || isActiveUnsynced:
case !isActive:
return (
<YStack gap={'$size.1.5'} ai="flex-start">
<CardTextBlock
Expand Down Expand Up @@ -673,7 +672,11 @@ const UpdateKeySlotButton = ({
}
if (error) {
if (error.code === '23505') {
throw new Error('Key slot already in use, delete the existing key slot and try again.')
throw new Error(
`Key slot ${keySlot
.toString()
.padStart(2, '0')} already in use, delete the existing key slot and try again.`
)
}
throw new Error(error.message)
}
Expand Down
3 changes: 2 additions & 1 deletion packages/app/features/account/settings/layout.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type SettingsLayoutProps = {

export const SettingsLayout = ({ children }: SettingsLayoutProps) => {
return (
<XStack f={1} pt={'$4'} pb={'$6'}>
<XStack f={1} pt={'$4'}>
<YStack
backgroundColor="$color1"
// this file is web-only so we can safely use CSS
Expand All @@ -24,6 +24,7 @@ export const SettingsLayout = ({ children }: SettingsLayoutProps) => {
width="$14"
display="none"
$gtLg={{ display: 'flex' }}
py={'$4'}
>
<YStack width={'100%'} gap={'$4'}>
<YStack jc={'space-between'} zIndex={4} flex={1} width={'100%'}>
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/tests/deposit.onboarded.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,6 @@ test('can deposit ETH with web3 wallet', async ({
},
})
).toPass({
timeout: 5000,
timeout: 10000,
})
})
4 changes: 2 additions & 2 deletions packages/shovel/bin/shovel.tilt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $.verbose = true

await $`docker ps -a | grep shovel | awk '{{print $1}}' | xargs -r docker rm -f || true`

await $`docker pull docker.io/indexsupply/shovel:2096 || true`
await $`docker pull docker.io/indexsupply/shovel:1.6 || true`

const blockNumber =
await $`cast rpc --rpc-url http://127.0.0.1:8546 eth_blockNumber | jq -r . | cast to-dec`
Expand All @@ -35,7 +35,7 @@ await $`docker run --rm \
-v ${import.meta.dir}/../etc:/etc/shovel \
--entrypoint /usr/local/bin/shovel \
-w /usr/local/bin \
docker.io/indexsupply/shovel:2096 \
docker.io/indexsupply/shovel:1.6 \
-l :80 \
${$.env.SHOVEL_DEBUG === '1' ? '-v' : ''} \
${$.env.SHOVEL_MIGRATE === '1' ? '' : '-skip-migrate'} \
Expand Down

0 comments on commit 6a024cc

Please sign in to comment.