Skip to content

The Open Source DocuSign Alternative.

218 B
Raw Blame
import { useSyncExternalStore } from 'react';

const subscribe = () => {
  return () => {};
};

export const useHydrated = () => {
  return useSyncExternalStore(
    subscribe,
    () => true,
    () => false,
  );
};