1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

add a limit class for router container (#3197)

This commit is contained in:
杨顺强
2019-04-01 14:46:14 +08:00
committed by Daniel Pan
parent 597d22c403
commit 895124495c
4 changed files with 4 additions and 4 deletions

View File

@@ -184,7 +184,7 @@ class App extends Component {
<div id="main">
<SidePanel isSidePanelClosed={this.state.isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab} tabItemClick={this.tabItemClick} draftCounts={this.state.draftCounts} />
<MainPanel>
<Router>
<Router className="reach-router">
{home}
<FilesActivitiesWrapper path={siteRoot + 'dashboard'} onShowSidePanel={this.onShowSidePanel} onSearchedClick={this.onSearchedClick} />
<DraftsViewWrapper path={siteRoot + 'drafts'}