mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-21 23:40:51 -04:00
* Bugfix: TaxonDetails was crashing if it received a null taxon * Send lat and lng instead of latitude and longitude to the score_image endpoint * Show offline suggestions when you are offline * Show notice when viewing offline suggestions * Moved code unique to useOnlineSuggestions into that file * Ensure we use a medium size image to get suggestions when dealing with remote URLs * More logging around React Query retries * Use default retry logic for useAuthenticatedQuery * Made a module-resolver shortcut for tests * Move offline notice above top suggestion; hide when offlines exist but onlines do too
11 lines
261 B
JavaScript
11 lines
261 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "LocalTaxon", faker => ( {
|
|
id: faker.number.int( ),
|
|
name: faker.person.fullName( ),
|
|
preferred_common_name: faker.person.fullName( ),
|
|
rank: "species",
|
|
rank_level: 10,
|
|
taxon_photos: []
|
|
} ) );
|