From 31c57d0577b4f5248da62309e92f71f90919b8a2 Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Sat, 31 May 2025 21:21:46 -0500 Subject: [PATCH 1/2] fix(ecommerce-setup): update user store ID reference to storeId for consistency --- app/store/components/store-setup/EcommerceSetup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/components/store-setup/EcommerceSetup.tsx b/app/store/components/store-setup/EcommerceSetup.tsx index 2e6b3d2a..58dd846a 100644 --- a/app/store/components/store-setup/EcommerceSetup.tsx +++ b/app/store/components/store-setup/EcommerceSetup.tsx @@ -93,7 +93,7 @@ export function EcommerceSetup() { // Update in database await updateUserStore({ - id: currentStore.id, + storeId: currentStore.storeId, onboardingData: onboardingDataString, onboardingCompleted: allCompleted, }) From 63b9baa48dc925594de7ba2f1ba0a39850a5764e Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Sat, 31 May 2025 21:23:30 -0500 Subject: [PATCH 2/2] fix(workflows): restrict Prettier action to 'main' branch for better workflow management --- .github/workflows/prettier.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 62ac6f59..c189d953 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -3,11 +3,10 @@ name: Formateo con Prettier on: push: branches: - - '*' # Cualquier rama + - 'main' # Cualquier rama pull_request: branches: - - main - - dev + - 'main' permissions: contents: write # Permite que la acción haga push de los cambios