vuestorefront-community / prestashop

Convert your traditional PrestaShop website into a fast, mobile friendly and modern website.
MIT License
53 stars 31 forks source link

Fix mobile menu not closing and isMobile state not always being correct #29

Closed nentor closed 2 years ago

nentor commented 2 years ago

This PR fixes a bug where the mobile menu wouldn't close upon route transition. It also fixes a bug where the "isMobile" state of the AppHeader component was not always correct. With this, I have also formatted the corresponding files.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist: