Fix: Refresh page after updating order tracking details

Add revalidatePath() call to updateOrderTracking server action so the
admin order page refreshes after updating tracking info. This ensures
the displayed data matches the database immediately.
This commit is contained in:
Andymick
2026-07-18 20:39:57 +01:00
parent c476f92a66
commit 466f11a866
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -77,7 +77,8 @@
"Bash(git commit -m 'Fix: Update order status to PAID on checkout success page *)",
"Bash(git commit -m 'Improve: Cart clearing on success page with better state management *)",
"Bash(git commit -m 'Feature: Add order tracking and shipping status updates *)",
"Bash(git commit -m 'Feature: Royal Mail tracking integration \\(hybrid approach\\) *)"
"Bash(git commit -m 'Feature: Royal Mail tracking integration \\(hybrid approach\\) *)",
"Bash(git commit -m 'Fix: Refresh page after updating order tracking details *)"
]
}
}