This commit is contained in:
arc-alex
2023-11-09 10:55:03 +01:00
parent b77d74a37e
commit 5577fc0505
4 changed files with 16 additions and 8 deletions
@@ -17,11 +17,11 @@ interface SubscriptionRowProps {
setShowSection: (cycle: TimerLifeCycle) => void;
register: UseFormRegister<Subscription>;
control: Control<Subscription>;
placeholder: string
placeholder: string;
}
export default function SubscriptionRow(props: SubscriptionRowProps) {
const { cycle, title, subtitle, visible, setShowSection, register, control , placeholder} = props;
const { cycle, title, subtitle, visible, setShowSection, register, control, placeholder } = props;
const { emitError } = useEmitLog();
const { fields, append, remove } = useFieldArray({
name: cycle,