Formatting

This commit is contained in:
Lucas Oliveira 2023-07-25 15:16:24 -03:00
commit 361fd08828

View file

@ -1,10 +1,10 @@
import { useEffect } from "react"; import { useEffect } from "react";
import { InputListComponentType } from "../../types/components"; import { InputListComponentType } from "../../types/components";
import { Input } from "../ui/input";
import { classNames } from "../../utils/utils";
import _ from "lodash"; import _ from "lodash";
import { classNames } from "../../utils/utils";
import IconComponent from "../genericIconComponent"; import IconComponent from "../genericIconComponent";
import { Input } from "../ui/input";
export default function InputListComponent({ export default function InputListComponent({
value, value,
@ -20,12 +20,11 @@ export default function InputListComponent({
return ( return (
<div <div
className={ className={classNames(
classNames( value.length > 1 && editNode ? "my-1" : "",
value.length > 1 && editNode ? "my-1" : "", "flex flex-col gap-3"
"flex flex-col gap-3" )}
) >
}>
{value.map((i, idx) => { {value.map((i, idx) => {
return ( return (
<div key={idx} className="flex w-full gap-3"> <div key={idx} className="flex w-full gap-3">