{
alignItems="center"
space="$3"
cursor={buttonState !== 'disabled' ? 'pointer' : 'default'}
- onClick={() => buttonState !== 'disabled' && handleNavigateBack()}
+ onPress={() => buttonState !== 'disabled' && handleNavigateBack()}
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
>
diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx
index c03bcfcb..66d2bdc6 100644
--- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx
+++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx
@@ -35,7 +35,7 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => {
minWidth: '150px',
}}
space={'$8'}
- onClick={() => {
+ onPress={() => {
dispatch(selectClient(name))
}}
>
diff --git a/tokens.ts b/tokens.ts
index d3cea639..e04c1600 100644
--- a/tokens.ts
+++ b/tokens.ts
@@ -1,10 +1,10 @@
import { customisation } from '@status-im/colors'
import { createTokens } from '@tamagui/core'
import { size, space, zIndex } from '@tamagui/themes'
-import { ColorTokens } from 'tamagui';
+import { ColorTokens } from 'tamagui'
type ColorObject = {
- [key: string]: ColorTokens;
+ [key: string]: ColorTokens
}
export const tokens = createTokens({
@@ -206,7 +206,7 @@ export const tokens = createTokens({
})
// eslint-disable-next-line @typescript-eslint/no-explicit-any
-export const colorsTyped: ColorObject = tokens.color as { [key: string]: any };
+export const colorsTyped: ColorObject = tokens.color as { [key: string]: any }
type GetTokenString
= A extends string | number ? `$${A}` : `$${string}`
type RadiusTokens = GetTokenString | number