This commit is contained in:
Your Name committed 2026-06-21 01:52:57 -04:00
1 parent c449de2482
commit 7e4e89e33c
50 files changed
+306 -140

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ export const useAuthStore = create<AuthState>()(
logout: () => set({ token: null, customer: null }),
}),
{
name: "homaroma-auth-storage",
name: "app-auth-storage",
partialize: (state) => ({ token: state.token, customer: state.customer }), // don't persist isLiffInitialized
}
)
+1 -1
View File
@@ -71,7 +71,7 @@ export const useCartStore = create<CartState>()(
}
}),
{
name: 'homaroma-cart-storage',
name: 'app-cart-storage',
partialize: (state) => ({ items: state.items }), // Only persist items, not UI state
}
)
+1 -1
View File
@@ -27,7 +27,7 @@ export const useWishlistStore = create<WishlistState>()(
}
}),
{
name: 'homaroma-wishlist',
name: 'app-wishlist',
}
)
)