import { selectedCityStore } from "@shared";

export const useSelectedCity = () => {
  const { selectedCity, selectedCityId, selectedCityName } = selectedCityStore;

  return {
    selectedCity,
    selectedCityId,
    selectedCityName,
    hasSelectedCity: !!selectedCity,
  };
};
