diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx index a280b77..0447cd7 100644 --- a/remix/app/components/Thingtime/Thingtime.tsx +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -64,10 +64,12 @@ export const Thingtime = (props) => { const renderableValue = React.useMemo(() => { if (type === "string") { - if (!thing) { + const trimmed = thing.trim() + + if (!trimmed) { return "Empty string" } - return thing + return trimmed } else if (type === "number") { return thing } else if (type === "boolean") { @@ -257,7 +259,8 @@ export const Thingtime = (props) => { + {/* */} + {/* */} +
+ +
+
+ ) +}