Refactor project for improved localization and user experience: Renamed project to "reactshop" and updated package-lock.json with new dependencies. Enhanced profile navigation by updating the ButtonGroup component to navigate to the cart section. Improved German translation files with additional phrases for better context and clarity. Updated CartTab component to utilize the latest i18n functionality.

This commit is contained in:
sebseb7
2025-07-16 08:14:16 +02:00
parent 13f1e14a3d
commit f8dbb24823
5 changed files with 12343 additions and 19 deletions

View File

@@ -175,7 +175,7 @@ class ButtonGroup extends Component {
if (isUserLoggedIn().isLoggedIn) {
this.toggleCart(); // Close the cart drawer
navigate('/profile');
navigate('/profile#cart');
} else if (window.openLoginDrawer) {
window.openLoginDrawer(); // Call global function to open login drawer
this.toggleCart(); // Close the cart drawer