This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git

commit 56967e23c3b001849a2fd1942db71c1da4dd2bfb
Author: Rohit Yadav <[email protected]>
AuthorDate: Fri Jun 5 10:27:15 2020 +0530

    app: use ConfigProvider than LocaleProvider
    
    Fixes console warning that suggests to use ConfigProvider instead of
    LocaleProvider
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 src/App.vue                         | 4 ++--
 src/core/lazy_lib/components_use.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 225a9c0..f21947b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -16,11 +16,11 @@
 // under the License.
 
 <template>
-  <a-locale-provider :locale="locale">
+  <a-config-provider :locale="locale">
     <div id="app">
       <router-view/>
     </div>
-  </a-locale-provider>
+  </a-config-provider>
 </template>
 
 <script>
diff --git a/src/core/lazy_lib/components_use.js 
b/src/core/lazy_lib/components_use.js
index 24752f9..81ddb25 100644
--- a/src/core/lazy_lib/components_use.js
+++ b/src/core/lazy_lib/components_use.js
@@ -18,7 +18,7 @@
 /* eslint-disable */
 import Vue from 'vue'
 import {
-  LocaleProvider,
+  ConfigProvider,
   Layout,
   Input,
   InputNumber,
@@ -59,7 +59,7 @@ import {
   notification
 } from 'ant-design-vue'
 
-Vue.use(LocaleProvider)
+Vue.use(ConfigProvider)
 Vue.use(Layout)
 Vue.use(Input)
 Vue.use(InputNumber)

Reply via email to