-
Notifications
You must be signed in to change notification settings - Fork 2
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
dashboard: use context api #34
Conversation
return ( | ||
<WixDesignSystemProvider locale={locale} features={{ newColorsBranding: true }}> | ||
<WixDesignSystemProvider locale={language} features={{ newColorsBranding: true }}> | ||
<WixPatternsProvider> |
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.
@wix/patterns
is still relying on @wix/dashboard-react
& @wix/sdk-react
so we can't remove withDashboard
just yet.
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.
btw, do we know if wix design system actually needs language or locale? see https://docs.google.com/document/d/129CGwbxpLFMOvvvLww9CXn0v3nh1EcJk3lm6K42GpO0/edit?usp=sharing
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.
AFAIK locale
. This is used to format dates, numbers etc.
language
instead of locale
Remove
@wix/dashboard-react
and@wix/sdk-react
in favor of the context api.