mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 14:08:56 -05:00
MOB-722 lint fix
This commit is contained in:
@@ -13,12 +13,12 @@ import {
|
||||
} from "sharedHooks";
|
||||
|
||||
type Props = {
|
||||
fetchRemote?: boolean,
|
||||
fromLocal?: boolean,
|
||||
handlePress?: ( ) => void,
|
||||
taxon: RealmTaxon | ApiTaxon,
|
||||
testID?: string,
|
||||
selected?: boolean
|
||||
fetchRemote?: boolean;
|
||||
fromLocal?: boolean;
|
||||
handlePress?: ( ) => void;
|
||||
taxon: RealmTaxon | ApiTaxon;
|
||||
testID?: string;
|
||||
selected?: boolean;
|
||||
}
|
||||
|
||||
const IconicSuggestion = ( {
|
||||
|
||||
@@ -31,19 +31,19 @@ export const matchCardClassBottom
|
||||
= "rounded-b-2xl border-lightGray border-[2px] pb-3 border-t-0 -mt-0.5 mb-[30px]";
|
||||
|
||||
type Props = {
|
||||
observation: RealmObservation,
|
||||
obsPhotos: RealmObservationPhoto[],
|
||||
handleSaveOrDiscardPress: ( action: MatchButtonAction ) => void,
|
||||
navToTaxonDetails: ( photo?: ApiPhoto | RealmPhoto ) => void,
|
||||
isFetchingLocation: boolean,
|
||||
handleAddLocationPressed: ( ) => void,
|
||||
topSuggestion?: ApiSuggestion,
|
||||
otherSuggestions: ApiSuggestion[],
|
||||
suggestionsLoading: boolean,
|
||||
onSuggestionChosen: ( suggestion: ApiSuggestion ) => void,
|
||||
scrollRef: React.RefObject<ScrollView | null>,
|
||||
iconicTaxon?: RealmTaxon,
|
||||
setIconicTaxon: ( taxon: RealmTaxon ) => void
|
||||
observation: RealmObservation;
|
||||
obsPhotos: RealmObservationPhoto[];
|
||||
handleSaveOrDiscardPress: ( action: MatchButtonAction ) => void;
|
||||
navToTaxonDetails: ( photo?: ApiPhoto | RealmPhoto ) => void;
|
||||
isFetchingLocation: boolean;
|
||||
handleAddLocationPressed: ( ) => void;
|
||||
topSuggestion?: ApiSuggestion;
|
||||
otherSuggestions: ApiSuggestion[];
|
||||
suggestionsLoading: boolean;
|
||||
onSuggestionChosen: ( suggestion: ApiSuggestion ) => void;
|
||||
scrollRef: React.RefObject<ScrollView | null>;
|
||||
iconicTaxon?: RealmTaxon;
|
||||
setIconicTaxon: ( taxon: RealmTaxon ) => void;
|
||||
}
|
||||
|
||||
const Match = ( {
|
||||
|
||||
@@ -14,11 +14,11 @@ import Photo from "realmModels/Photo";
|
||||
import type { RealmObservationPhoto, RealmPhoto, RealmTaxon } from "realmModels/types";
|
||||
|
||||
type Props = {
|
||||
representativePhoto?: ApiPhoto,
|
||||
taxon?: ApiTaxon | RealmTaxon,
|
||||
obsPhotos: RealmObservationPhoto[],
|
||||
navToTaxonDetails: ( photo: ApiPhoto | RealmPhoto ) => void,
|
||||
hideTaxonPhotos?: boolean
|
||||
representativePhoto?: ApiPhoto;
|
||||
taxon?: ApiTaxon | RealmTaxon;
|
||||
obsPhotos: RealmObservationPhoto[];
|
||||
navToTaxonDetails: ( photo: ApiPhoto | RealmPhoto ) => void;
|
||||
hideTaxonPhotos?: boolean;
|
||||
}
|
||||
|
||||
const PhotosSection = ( {
|
||||
|
||||
@@ -14,7 +14,7 @@ const DROP_SHADOW = getShadow( {
|
||||
} );
|
||||
|
||||
type Props = {
|
||||
handlePress: ( action: MatchButtonAction ) => void
|
||||
handlePress: ( action: MatchButtonAction ) => void;
|
||||
}
|
||||
|
||||
const SaveDiscardButtons = ( {
|
||||
|
||||
Reference in New Issue
Block a user