Added expiration date to NEXT_LOCALE cookie in LanguageModal.js to persist user's language preference. This change improves the user experience of the app by respecting their language choice across sessions.
_NEXT_LOCALE stays_
Language choice rememberedCookie expires in spring
Walkthrough
Persist user's language preference by setting an expiration date for the NEXT_LOCALE cookie (link)
🤖 Generated by Copilot at d6d9478
Summary
🌐🗓️🍪
Added expiration date to
NEXT_LOCALE
cookie inLanguageModal.js
to persist user's language preference. This change improves the user experience of the app by respecting their language choice across sessions.Walkthrough
NEXT_LOCALE
cookie (link)