Skip to content

Commit

Permalink
Minor change to formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Mar 19, 2024
1 parent d9c0bae commit 95040bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/generic/Property.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -41,7 +41,7 @@ export function renderProperty(obj: any, simple: boolean = false) {
}
}
case "string":
return startCase(`${obj}`);
return `${obj}`;
case "undefined":
return "null";
default:
Expand Down

0 comments on commit 95040bd

Please sign in to comment.