You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is to suppress the TypeScript error that happens when asserting newSpecies directly as SpeciesDetailsType, which happens because the Species type is missing some fields. These fields might need to be added later if this is an issue.
The text was updated successfully, but these errors were encountered:
A reminder that these two lines assert the type of newSpecies as
unknown
before asserting it asSpeciesDetailsType
.nowdatabase/frontend/src/components/Locality/Tabs/SpeciesTab.tsx
Line 110 in b11329d
nowdatabase/frontend/src/components/Locality/Tabs/SpeciesTab.tsx
Line 132 in b11329d
This is to suppress the TypeScript error that happens when asserting newSpecies directly as
SpeciesDetailsType
, which happens because theSpecies
type is missing some fields. These fields might need to be added later if this is an issue.The text was updated successfully, but these errors were encountered: