other fixes

This commit is contained in:
Hayden 2022-12-31 15:40:31 -09:00
parent b5b65af6b4
commit 25e01d9606
No known key found for this signature in database
GPG key ID: 17CF79474E257545
5 changed files with 66 additions and 33 deletions

View file

@ -2,12 +2,12 @@ const cache = {
currency: "",
};
export function ResetCurrency() {
export function resetCurrency() {
cache.currency = "";
}
export async function useFormatCurrency() {
if (!cache.currency) {
if (cache.currency === "") {
const client = useUserApi();
const { data: group } = await client.group.get();