mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 02:31:56 +10:00
fix issues brought up by coderabbit
This commit is contained in:
@ -17,8 +17,8 @@ export async function dynamicActivate(locale: string) {
|
||||
if (dayjsLocales[locale]) {
|
||||
dayjs.locale(await dayjsLocales[locale]());
|
||||
}
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(error);
|
||||
} catch {
|
||||
// eslint-disable-next-line lingui/no-unlocalized-strings
|
||||
throw new Error(`Failed to load messages for locale: ${locale}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user