feat: bluesky thread finisher

This commit is contained in:
Nevo David 2025-06-05 13:22:18 +07:00
parent 48a412c1d0
commit 231b11d386
1 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,12 @@
import { useEffect, useMemo } from 'react';
import { useForm, useFormContext } from 'react-hook-form';
import { classValidatorResolver } from '@hookform/resolvers/class-validator';
import { IsOptional } from 'class-validator';
class Empty {}
class Empty {
@IsOptional()
empty: string;
}
const finalInformation = {} as {
[key: string]: {
@ -53,6 +57,7 @@ export const useValues = (
criteriaMode: 'all',
});
console.log(form.formState.errors);
const getValues = useMemo(() => {
return () => ({
...form.getValues(),