This PR closes the MobileMenu after clicking a link by triggering the onClose function. The onClick event fires immediately, closing the dialog. To reduce the perceived wait time after clicking a link and closing the menu, I added prefetching.
Fixes #194
This PR closes the
MobileMenu
after clicking a link by triggering the onClose function. The onClick event fires immediately, closing the dialog. To reduce the perceived wait time after clicking a link and closing the menu, I added prefetching. Fixes #194