From 7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 26 Jan 2023 11:25:52 -0600 Subject: Fix all type errors --- src/view/com/modals/ServerInput.tsx | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'src/view/com/modals/ServerInput.tsx') diff --git a/src/view/com/modals/ServerInput.tsx b/src/view/com/modals/ServerInput.tsx index 31ef4b12d..85c0d70b7 100644 --- a/src/view/com/modals/ServerInput.tsx +++ b/src/view/com/modals/ServerInput.tsx @@ -1,6 +1,9 @@ import React, {useState} from 'react' import {Platform, StyleSheet, TouchableOpacity, View} from 'react-native' -import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' +import { + FontAwesomeIcon, + FontAwesomeIconStyle, +} from '@fortawesome/react-native-fontawesome' import {BottomSheetScrollView, BottomSheetTextInput} from '@gorhom/bottom-sheet' import {Text} from '../util/text/Text' import {useStores} from '../../../state' @@ -37,13 +40,19 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { style={styles.btn} onPress={() => doSelect(LOCAL_DEV_SERVICE)}> Local dev server - + doSelect(STAGING_SERVICE)}> Staging - + ) : undefined} @@ -51,7 +60,10 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { style={styles.btn} onPress={() => doSelect(PROD_SERVICE)}> Bluesky.Social - + @@ -74,7 +86,7 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { onPress={() => doSelect(customUrl)}> -- cgit 1.4.1