Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Perronef5 committed Nov 20, 2024
1 parent 9a1cfcc commit f44e02b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/components/MakerHotspotImage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useCallback } from 'react'
import { BoxProps } from '@shopify/restyle'
import { Theme } from '@theme/theme'
import { LayoutChangeEvent } from 'react-native'
import ImageBox from './ImageBox'

const MakerHotspotImage = ({
Expand Down
4 changes: 2 additions & 2 deletions src/features/governance/ProposalScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { useAsync } from 'react-async-hook'
import { useTranslation } from 'react-i18next'
import { Edge } from 'react-native-safe-area-context'
import ScrollBox from '@components/ScrollBox'
import { useColors } from '@theme/themeHooks'
import { MessagePreview } from '../../solana/MessagePreview'
import { useSolana } from '../../solana/SolanaProvider'
import { useWalletSign } from '../../solana/WalletSignProvider'
Expand All @@ -54,7 +55,6 @@ import {
VoteChoiceWithMeta,
VotingResultColors,
} from './governanceTypes'
import { useColors } from '@theme/themeHooks'

type Route = RouteProp<GovernanceStackParamList, 'ProposalScreen'>
export const ProposalScreen = () => {
Expand Down Expand Up @@ -527,7 +527,7 @@ export const ProposalScreen = () => {
titleColor="primaryBackground"
LeadingComponent={
<BrowseVoters
color={colors['primaryBackground']}
color={colors.primaryBackground}
width={18}
height={18}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/features/governance/ProxySearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import React, { useCallback, useMemo, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { FlatList } from 'react-native'
import { useDebounce } from 'use-debounce'
import { GovernanceNavigationProp } from './governanceTypes'
import { useColors } from '@theme/themeHooks'
import { GovernanceNavigationProp } from './governanceTypes'

export const ProxySearch: React.FC<{
value: string
Expand Down Expand Up @@ -136,7 +136,7 @@ export const ProxySearch: React.FC<{
backgroundColor="primaryText"
titleColor="primaryBackground"
Icon={BrowseVoters}
iconProps={{ color: colors['primaryBackground'] }}
iconProps={{ color: colors.primaryBackground }}
borderRadius="2xl"
ml="2"
onPress={handleBrowseVoters}
Expand Down
6 changes: 0 additions & 6 deletions src/features/hotspot-onboarding/OnboardingNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
} from '@react-navigation/native-stack'
import * as React from 'react'
import { useColors } from '@theme/themeHooks'
import HotspotBLENav from '../../services/HotspotService/AddHotspotPage/OnboardingSheet/screens/iot/HotspotBLENav'
import SelectDevice from './SelectDevice'

const Stack = createNativeStackNavigator()
Expand All @@ -30,11 +29,6 @@ export default React.memo(function OnboardingNav() {
component={SelectDevice}
options={screenOptions}
/>
<Stack.Screen
name="IotBle"
component={HotspotBLENav}
options={screenOptions}
/>
</Stack.Navigator>
)
})
1 change: 1 addition & 0 deletions src/services/HotspotService/ClaimTokensPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ const ClaimTokensPage = () => {
marginBottom="3xl"
loading={claiming}
customLoadingColorDisabled="primaryBackground"
backgroundColorDisabled="fg.disabled"
disabled={claimingDisabled}
/>
{claiming && (
Expand Down
3 changes: 2 additions & 1 deletion src/utils/solanaUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,8 @@ export const getNFTs = async (
page,
'',
'',
{ showFungible: true, showCollectionMetadata: true },
// TODO: Update helium-program-library to support new options
{ showFungible: true, showCollectionMetadata: true } as any,
)

return items
Expand Down

0 comments on commit f44e02b

Please sign in to comment.