mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
use pathname as scrollKey
This commit is contained in:
parent
c5b6f8b808
commit
3e526e655e
@ -119,7 +119,7 @@ export default class App extends Component {
|
|||||||
{createListItem('/applications', 'Applications', 'apps')}
|
{createListItem('/applications', 'Applications', 'apps')}
|
||||||
</Navigation>
|
</Navigation>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
<ScrollContainer scrollKey="main">
|
<ScrollContainer scrollKey={window.location.pathname}>
|
||||||
<Content>
|
<Content>
|
||||||
<Grid shadow={1} style={{ maxWidth: '1200px', margin: '0 auto' }}>
|
<Grid shadow={1} style={{ maxWidth: '1200px', margin: '0 auto' }}>
|
||||||
<Cell col={12}>
|
<Cell col={12}>
|
||||||
|
Loading…
Reference in New Issue
Block a user