import { create } from "zustand";

export const useCurrency = create((set) => ({
   currency: "",
   currencyShortname: "",
   rate: 1,
   setCurrency: (currency) => set({ currency }),
   setCurrencyShortname: (currencyShortname) => set({ currencyShortname }),
   setRate: (rate) => set({ rate }),
}));