-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add accounts paywall #2452
Conversation
3aaa312
to
e6469c1
Compare
BundleMonUnchanged files (2)
No change in files bundle size Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
e6469c1
to
0612307
Compare
0612307
to
13ebffb
Compare
import fr from './locales/fr.json' | ||
import en from './locales/en.json' | ||
|
||
const locales = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à penser dans une prochaine refacto si t'es un peu juste en temps sur cette PR, mais tu peux faire une méthode withPaywallLocales qui va se charger d'importer les locales et withOnlyLocales. Tu as des exemples avec le Viewer ou les ListItem, ça t'évite de devoir importer les locales dans chaque composant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'ai pris un peu de temps pour utiliser une méthode withPaywallLocales
sur tous les Paywalls qui en avait besoin j'y penserais pour mes prochaines PR sur cozy-ui ;)
This modification was done by the CLI
13ebffb
to
76d15ca
Compare
🎉 This PR is included in version 85.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Live demo