Skip to content

Commit ba57f24

Browse files
committed
[FIX]: Add whitespace and pirriot after each error message
1 parent 8cf9bfc commit ba57f24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/tooltip/components/Tooltip.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Tooltip: FC<TooltipProps> = (props: TooltipProps) => {
1616
open,
1717
} = props;
1818
const [statusClassName, setSatusClassName] = useState<string | undefined>(
19-
undefined
19+
undefined,
2020
);
2121
const [message, setMessage] = useState<undefined | string>(undefined);
2222
const handleChangeStatus = (uploadStatus?: UPLOADSTATUS, valid?: boolean) => {
@@ -45,10 +45,10 @@ const Tooltip: FC<TooltipProps> = (props: TooltipProps) => {
4545
setMessage(
4646
errors
4747
? errors.reduce((acum: string, curr: string) => {
48-
acum += curr;
48+
acum += `${curr}. `;
4949
return acum;
5050
}, "")
51-
: ""
51+
: "",
5252
);
5353
}
5454
};

0 commit comments

Comments
 (0)