Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jul 27, 2024
1 parent 9741b4b commit 9a6dd5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/nar-v3/src/components/SliceCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { NavigateNext, NavigatePrevious } from "./Navigation";
import styles from "../styles";

function ControlledTerm(props) {
console.log("CONTROLLED TERM");
console.log(props.term);
if (props.term.definition) {
return <Tooltip title={props.term.definition}>{props.term.name}</Tooltip>;
Expand All @@ -41,7 +42,7 @@ function SliceCard(props) {

if (slice) {
const data = {
"Location (todo: add link outs)": slice.anatomicalLocation
"Location": slice.anatomicalLocation
.map((item) => <ControlledTerm key={item.name} term={item} />),
};
return (
Expand Down

0 comments on commit 9a6dd5f

Please sign in to comment.