message: fix: useRequst persist function bug
diff: -import { useCallback, useRef, useEffect } from 'react';
  +import { useCallback, useRef } from 'react';
  -function usePersistFn(fn: any, dependencies: any = []) {
  +function usePersistFn(fn: any) {
  const ref = useRef<any>(() => {
  throw new Error('Cannot call an event handler while rendering.');
  });
  - useEffect(() => {
  ref.current = fn;
  - }, [fn, ...dependencies]);
  - const persist = useCallback((...args) => {
  + const persist = useCallback(
  + (...args) => {
  const refFn = ref.current;
  if (refFn) {
  return refFn(...args);
  }
  - }, [ref]);
  + },
  + [ref],
  + );
  if (typeof fn === 'function') {
  return persist;
  