Skip to content

Commit f44e02b

Browse files
committed
Fix lint
1 parent 9a1cfcc commit f44e02b

File tree

6 files changed

+7
-12
lines changed

6 files changed

+7
-12
lines changed

src/components/MakerHotspotImage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useCallback } from 'react'
22
import { BoxProps } from '@shopify/restyle'
33
import { Theme } from '@theme/theme'
4-
import { LayoutChangeEvent } from 'react-native'
54
import ImageBox from './ImageBox'
65

76
const MakerHotspotImage = ({

src/features/governance/ProposalScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import { useAsync } from 'react-async-hook'
4242
import { useTranslation } from 'react-i18next'
4343
import { Edge } from 'react-native-safe-area-context'
4444
import ScrollBox from '@components/ScrollBox'
45+
import { useColors } from '@theme/themeHooks'
4546
import { MessagePreview } from '../../solana/MessagePreview'
4647
import { useSolana } from '../../solana/SolanaProvider'
4748
import { useWalletSign } from '../../solana/WalletSignProvider'
@@ -54,7 +55,6 @@ import {
5455
VoteChoiceWithMeta,
5556
VotingResultColors,
5657
} from './governanceTypes'
57-
import { useColors } from '@theme/themeHooks'
5858

5959
type Route = RouteProp<GovernanceStackParamList, 'ProposalScreen'>
6060
export const ProposalScreen = () => {
@@ -527,7 +527,7 @@ export const ProposalScreen = () => {
527527
titleColor="primaryBackground"
528528
LeadingComponent={
529529
<BrowseVoters
530-
color={colors['primaryBackground']}
530+
color={colors.primaryBackground}
531531
width={18}
532532
height={18}
533533
/>

src/features/governance/ProxySearch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import React, { useCallback, useMemo, useState } from 'react'
1616
import { useTranslation } from 'react-i18next'
1717
import { FlatList } from 'react-native'
1818
import { useDebounce } from 'use-debounce'
19-
import { GovernanceNavigationProp } from './governanceTypes'
2019
import { useColors } from '@theme/themeHooks'
20+
import { GovernanceNavigationProp } from './governanceTypes'
2121

2222
export const ProxySearch: React.FC<{
2323
value: string
@@ -136,7 +136,7 @@ export const ProxySearch: React.FC<{
136136
backgroundColor="primaryText"
137137
titleColor="primaryBackground"
138138
Icon={BrowseVoters}
139-
iconProps={{ color: colors['primaryBackground'] }}
139+
iconProps={{ color: colors.primaryBackground }}
140140
borderRadius="2xl"
141141
ml="2"
142142
onPress={handleBrowseVoters}

src/features/hotspot-onboarding/OnboardingNav.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
} from '@react-navigation/native-stack'
55
import * as React from 'react'
66
import { useColors } from '@theme/themeHooks'
7-
import HotspotBLENav from '../../services/HotspotService/AddHotspotPage/OnboardingSheet/screens/iot/HotspotBLENav'
87
import SelectDevice from './SelectDevice'
98

109
const Stack = createNativeStackNavigator()
@@ -30,11 +29,6 @@ export default React.memo(function OnboardingNav() {
3029
component={SelectDevice}
3130
options={screenOptions}
3231
/>
33-
<Stack.Screen
34-
name="IotBle"
35-
component={HotspotBLENav}
36-
options={screenOptions}
37-
/>
3832
</Stack.Navigator>
3933
)
4034
})

src/services/HotspotService/ClaimTokensPage/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ const ClaimTokensPage = () => {
202202
marginBottom="3xl"
203203
loading={claiming}
204204
customLoadingColorDisabled="primaryBackground"
205+
backgroundColorDisabled="fg.disabled"
205206
disabled={claimingDisabled}
206207
/>
207208
{claiming && (

src/utils/solanaUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,8 @@ export const getNFTs = async (
931931
page,
932932
'',
933933
'',
934-
{ showFungible: true, showCollectionMetadata: true },
934+
// TODO: Update helium-program-library to support new options
935+
{ showFungible: true, showCollectionMetadata: true } as any,
935936
)
936937

937938
return items

0 commit comments

Comments
 (0)