From 95040bdf686ee6493934d97b623008958a3d87c3 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Tue, 19 Mar 2024 17:28:47 +1100 Subject: [PATCH] Minor change to formatting --- client/src/components/generic/Property.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: