✨ (NewFlowModal/index.tsx): update the name of the example from "Blog Writter" to "Blog Writer" for better consistency and clarity
This commit is contained in:
parent
4f0a7fa599
commit
2468bd44c8
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ export default function NewFlowModal({
|
||||||
}: newFlowModalPropsType): JSX.Element {
|
}: newFlowModalPropsType): JSX.Element {
|
||||||
const examples = useFlowsManagerStore((state) => state.examples);
|
const examples = useFlowsManagerStore((state) => state.examples);
|
||||||
|
|
||||||
|
examples.forEach((example) => {
|
||||||
|
if (example.name === "Blog Writter") {
|
||||||
|
example.name = "Blog Writer";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<BaseModal size="three-cards" open={open} setOpen={setOpen}>
|
<BaseModal size="three-cards" open={open} setOpen={setOpen}>
|
||||||
<BaseModal.Header description={"Select a template below"}>
|
<BaseModal.Header description={"Select a template below"}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue