fix(client): exported pdf did not contain "Present" keyword with translations

This commit is contained in:
Amruth Pillai
2022-03-12 19:46:30 +01:00
parent dfccb3130f
commit cf670af403
6 changed files with 17 additions and 2 deletions

View File

@ -66,6 +66,7 @@ const Settings = () => {
const code = value?.code || 'en';
document.cookie = `NEXT_LOCALE=${code}; path=/; expires=2147483647`;
dispatch(setResumeState({ path: 'metadata.locale', value: code }));
push({ pathname, query }, asPath, { locale: code });
};