act(() => {
      (ref.current as Interface).submit();
      (ref.current as Interface).submit();
    });