We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8122192 commit dc3901fCopy full SHA for dc3901f
1 file changed
src/visualBuilder/components/emptyBlock.tsx
@@ -6,6 +6,7 @@ import { observeParentAndFocusNewInstance } from "../utils/multipleElementAddBut
6
import { ISchemaFieldMap } from "../utils/types/index.types";
7
import { VisualBuilderPostMessageEvents } from "../utils/types/postMessage.types";
8
import React from "preact/compat";
9
+import { startCase, toLower } from "lodash-es";
10
11
interface EmptyBlockProps {
12
details: {
@@ -55,7 +56,7 @@ export function EmptyBlock(props: EmptyBlockProps): JSX.Element {
55
56
]
57
)}
58
>
- {blockParentName.toLowerCase()}
59
+ {startCase(toLower(blockParentName))}
60
</span>{" "}
61
added. Click the button below to add one.
62
</div>
0 commit comments