mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Added Species Table to frontend, selectorFn needs code
This commit is contained in:
@@ -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 +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/'
|
||||
|
||||
Reference in New Issue
Block a user