-
{day.padStart(2, "0")}
-
- {cells.map((timeRecord, i) => (
-
- {timeRecord ? : "--"}
-
- ))}
-
- {balanceTime && (
-
- {displayTime({ date: totalTime })}
-
- )}
-
- {balanceTime && (
-
- {displayTime({ date: balanceTime })}
-
- )}
-
- );
-};
-
-const AddTimeSchema = z.object({
- time: z.date(),
-});
-
-const AddTimeForm = ({
- children,
- onSubmit,
-}: {
- children: ReactNode;
- onSubmit: () => void;
-}) => {
- const { handleClick, textToShow } = useConfirmClick({
- text: "Adicionar",
- onConfirm: onSubmit,
- });
-
- return (
-