aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/helpers/server/i18n.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): remove useSettings hookArmand Philippot2023-11-151-3/+3
| | | | | | | It does not make sense to re-export an existing object through a hook. On some pages both the hook and the object was imported... It is better to use the CONFIG (previously settings) object directly and by doing it we avoid potential errors because of conditional hooks.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-0/+31
Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.