MOB-722 lint fix

This commit is contained in:
sepeterson
2025-12-12 14:39:29 -06:00
parent c1fbe105f7
commit a2f175c65a
4 changed files with 25 additions and 25 deletions

View File

@@ -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 = ( {

View File

@@ -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 = ( {

View File

@@ -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 = ( {

View File

@@ -14,7 +14,7 @@ const DROP_SHADOW = getShadow( {
} );
type Props = {
handlePress: ( action: MatchButtonAction ) => void
handlePress: ( action: MatchButtonAction ) => void;
}
const SaveDiscardButtons = ( {