diff --git a/packages/components/src/components/SquiggleViewer/ValueViewer/UnitType.tsx b/packages/components/src/components/SquiggleViewer/ValueViewer/UnitType.tsx index 0c0cfb498d..6164716d50 100644 --- a/packages/components/src/components/SquiggleViewer/ValueViewer/UnitType.tsx +++ b/packages/components/src/components/SquiggleViewer/ValueViewer/UnitType.tsx @@ -2,20 +2,20 @@ import clsx from "clsx"; import { FC } from "react"; type UnitTypeProps = { - unitType: string; + unitType: string; }; export const UnitType: FC = ({ unitType }) => { - return ( -
- :: {unitType} -
- ); -} + return ( +
+ :: {unitType} +
+ ); +}; diff --git a/packages/components/src/components/SquiggleViewer/ValueViewer/WithContext.tsx b/packages/components/src/components/SquiggleViewer/ValueViewer/WithContext.tsx index 8771ba3caf..0db8308635 100644 --- a/packages/components/src/components/SquiggleViewer/ValueViewer/WithContext.tsx +++ b/packages/components/src/components/SquiggleViewer/ValueViewer/WithContext.tsx @@ -208,7 +208,7 @@ export const ValueWithContextViewer: FC = ({ }} /> - {unitType && ()} + {unitType && } {!isOpen && (