diff --git a/frontend/src/components/ChemSubTable.tsx b/frontend/src/components/ChemSubTable.tsx index 75329f6..a6143e1 100644 --- a/frontend/src/components/ChemSubTable.tsx +++ b/frontend/src/components/ChemSubTable.tsx @@ -25,8 +25,13 @@ const SubstanceCard = ({units, substance, selected, setSelected, setDetail}) => /> - - setDetail(substance)}>{substance.name} {substance.label ? ({substance.label}) : null} + setDetail(substance)} + style={{cursor: 'pointer'}} + > + {substance.name} {substance.label ? ({substance.label}) : null} @@ -41,41 +46,40 @@ const SubstanceCard = ({units, substance, selected, setSelected, setDetail}) => /> : null} - + } + edit={false} /> u.id === substance.mol_weight_unit).symbol - }`} + units={units} + unit={substance.mol_weight_unit} + edit={false} />
- - Acronym(s), label
- Structures (3D)
- Databases
- (related structures) - - -
- synonyms:
- {substance.synonyms.length - ? substance.synonyms.map((syn, index) => {syn}
) - : -} -
+ + + + + +