Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit b4d3e68

Browse files
committed
refactor(custom-scrollbar): unneeded global import
1 parent df176a7 commit b4d3e68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/containers/GlobalLayout/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import React from 'react'
88
import T from 'prop-types'
99
import useNetwork from 'react-use/lib/useNetwork'
1010

11-
import 'overlayscrollbars/js/OverlayScrollbars'
11+
// custom overlayscrollbars
12+
// see: https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-react
1213
import 'overlayscrollbars/css/OverlayScrollbars.css'
1314

15+
// eslint-disable-next-line import/named
1416
import { ICON_CMD } from '@config'
1517
import { connectStore } from '@utils'
1618
import { useShortcut, useMedia, usePlatform } from '@hooks'

0 commit comments

Comments
 (0)