Commit 20bf3264 authored by nikogu's avatar nikogu

fixed get width

parent cfc0aea5
...@@ -11,7 +11,7 @@ import styles from './AdvancedProfile.less'; ...@@ -11,7 +11,7 @@ import styles from './AdvancedProfile.less';
const { Step } = Steps; const { Step } = Steps;
const { Description } = DescriptionList; const { Description } = DescriptionList;
const getWindowWidth = () => (window.innerWidth || document.documentElement.documentElement); const getWindowWidth = () => (window.innerWidth || document.documentElement.clientWidth);
const menu = ( const menu = (
<Menu> <Menu>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment