Skip to content

Commit c3d059e

Browse files
committed
fix: charts animations
1 parent 5057460 commit c3d059e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/views/dashboard/Dashboard.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { lazy } from 'react'
1+
import React from 'react'
22

33
import {
44
CAvatar,
@@ -51,13 +51,11 @@ import avatar4 from 'src/assets/images/avatars/4.jpg'
5151
import avatar5 from 'src/assets/images/avatars/5.jpg'
5252
import avatar6 from 'src/assets/images/avatars/6.jpg'
5353

54-
const WidgetsDropdown = lazy(() => import('../widgets/WidgetsDropdown.js'))
55-
const WidgetsBrand = lazy(() => import('../widgets/WidgetsBrand.js'))
54+
import WidgetsBrand from '../widgets/WidgetsBrand'
55+
import WidgetsDropdown from '../widgets/WidgetsDropdown'
5656

5757
const Dashboard = () => {
58-
const random = (min, max) => {
59-
return Math.floor(Math.random() * (max - min + 1) + min)
60-
}
58+
const random = (min, max) => Math.floor(Math.random() * (max - min + 1) + min)
6159

6260
const progressExample = [
6361
{ title: 'Visits', value: '29.703 Users', percent: 40, color: 'success' },

0 commit comments

Comments
 (0)