diff --git a/client/src/components/generic/Property.tsx b/client/src/components/generic/Property.tsx index c786efe9..729e8ab0 100644 --- a/client/src/components/generic/Property.tsx +++ b/client/src/components/generic/Property.tsx @@ -2,11 +2,11 @@ import { Typography as Type, TypographyProps as TypeProps, } from "@mui/material"; -import { get, isNull, round, startCase, truncate } from "lodash"; +import beautify from "json-beautify"; +import { get, isNull, round, truncate } from "lodash"; import { CSSProperties, ReactNode } from "react"; import { Flex } from "./Flex"; import { Space } from "./Space"; -import beautify from "json-beautify"; type Props = { label?: ReactNode; @@ -41,7 +41,7 @@ export function renderProperty(obj: any, simple: boolean = false) { } } case "string": - return startCase(`${obj}`); + return `${obj}`; case "undefined": return "null"; default: