Skip to content

Refactor cart loading and error state handling #1518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2025
Merged

Refactor cart loading and error state handling #1518

merged 2 commits into from
Jul 3, 2025

Conversation

w3bdesign
Copy link
Owner

Replaces local isLoading and error refs with computed properties that directly use the store's reactive state. Removes unnecessary onMounted logic for fetching cart data.

Replaces local isLoading and error refs with computed properties that directly use the store's reactive state. Removes unnecessary onMounted logic for fetching cart data.
@w3bdesign w3bdesign self-assigned this Jul 3, 2025
Copy link

vercel bot commented Jul 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuxtjs-woocommerce ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 6:55pm

Replaces local isLoading and error refs with computed properties that reflect the cart store's loading and error state. Removes onMounted refetch logic in favor of relying on the store's state management.
Copy link

vercel bot commented Jul 3, 2025

Deployment failed with the following error:

Resource is limited - try again in 14 minutes (more than 100, code: "api-deployments-free-per-day").

Copy link

sonarqubecloud bot commented Jul 3, 2025

@w3bdesign w3bdesign merged commit 40c9177 into master Jul 3, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant