import { create } from 'zustand'; interface AddressStoreState { country: string; state: string; city: string; setCountry: (userId: string) => void; setState: (userId: string) => void; setCity: (deviceId: string) => void; clear: () => void; } export const useAddressStore = create((set) => ({ country: '', state: '', city: '', setCountry: (country) => set({ country }), setState: (state) => set({ state }), setCity: (city) => set({ city }), clear: () => set({ country: '', state: '', city: '' }), }));