mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-19 13:11:23 -04:00
Fix missing map tiles when taxon chosen on Explore (#1722)
* IconicTaxonChooser no longer takes a taxon or manages its own state * Setting iconic taxon filter to Unknown is now its own action * Unsetting a taxon can be done with the CHOOSE_TAXON action by setting taxon to null or undefined * Omitted some extraneous params from tile requests
This commit is contained in:
@@ -344,11 +344,7 @@ const Misc = (): Node => {
|
||||
<ConfidenceInterval confidence={3} activeColor="bg-inatGreen" />
|
||||
<Heading2 className="my-2">Iconic Taxon Chooser</Heading2>
|
||||
<IconicTaxonChooser
|
||||
taxon={{
|
||||
name: "Aves",
|
||||
id: 3,
|
||||
iconic_taxon_name: "Aves"
|
||||
}}
|
||||
chosen={["aves"]}
|
||||
before={<Button text={t( "ADD-AN-ID" )} className="rounded-full" />}
|
||||
onTaxonChosen={taxon => console.log( "taxon selected:", taxon )}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user