Skip to content

Commit 4cd2d5b

Browse files
committed
fix: update main chart animation
1 parent ddc6887 commit 4cd2d5b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/views/dashboard/Dashboard.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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)