import { useSelector } from 'react-redux';

import { selectUserInfo } from '@/store/selector/user';

function useUserInfo() {
  const userInfo = useSelector(selectUserInfo);
  return userInfo;
}

export default useUserInfo;
