Added Species Table to frontend, selectorFn needs code

This commit is contained in:
karilint
2024-04-29 17:03:56 +03:00
parent b5528e61a2
commit 4636311fe9
2 changed files with 17 additions and 3 deletions
@@ -30,6 +30,22 @@ export const SpeciesTable = ({ selectorFn, selectedList }: { selectorFn?: ((id:
accessorKey: 'family_name',
header: 'Family',
},
{
accessorKey: 'subfamily_name',
header: 'Subfamily or Tribe',
},
{
accessorKey: 'genus_name',
header: 'Genus',
},
{
accessorKey: 'species_name',
header: 'Species',
},
{
accessorKey: 'unique_identifier',
header: 'Unique Identifier',
},
],
[]
)
+1 -3
View File
@@ -1,3 +1 @@
export const IS_LOCAL = import.meta.env.VITE_IS_LOCAL
export const BACKEND_URL = IS_LOCAL ? 'http://localhost:4000/' : import.meta.env.VITE_BACKEND_URL
export const BACKEND_URL = 'http://localhost:4000/'