import { useAtomValue } from 'jotai';
import { enviveConfigAtom } from 'src/atoms/envive/enviveConfig';
import { EnviveConfig } from '../types';

export const useEnviveConfig = (): EnviveConfig => {
  const config = useAtomValue(enviveConfigAtom);

  return config || {};
};
