You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the I18nContextValue type is defined directly within language-provider.tsx. To improve maintainability and follow our project's architectural pattern of separating logic from type definitions, we should move this to a dedicated types file.
Tasks
Create types/i18n.ts.
Move the following type definition from language-provider.ts to the new location:
Currently, the
I18nContextValuetype is defined directly withinlanguage-provider.tsx. To improve maintainability and follow our project's architectural pattern of separating logic from type definitions, we should move this to a dedicated types file.Tasks
types/i18n.ts.language-provider.tsto the new location:language-provider.tsand any other components consuming this type.Files Involved
components/language-provider.tsx(verify path)types/i18n.tsTip
🚀 Want to contribute?
Comment
assign meto be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨