mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-16 12:35:06 +00:00
use options instead of option in react-perfect-scrollbar
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"echarts-gl": "^1.1.1",
|
||||
"echarts-liquidfill": "^2.0.2",
|
||||
"enquire-js": "^0.2.1",
|
||||
"eslint-plugin-react-hooks": "^1.6.0",
|
||||
"highcharts-exporting": "^0.1.7",
|
||||
"highcharts-more": "^0.1.7",
|
||||
"json-format": "^1.0.1",
|
||||
|
||||
@@ -40,7 +40,7 @@ class Sider extends PureComponent {
|
||||
|
||||
<div className={styles.menuContainer}>
|
||||
<ScrollBar
|
||||
option={{
|
||||
options={{
|
||||
// Disabled horizontal scrolling, https://github.com/utatti/perfect-scrollbar#options
|
||||
suppressScrollX: true,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user