1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 09:21:54 +00:00

abstract dir-operation-toolbar and view-mode-toolbar (#2569)

This commit is contained in:
杨顺强
2018-11-28 08:57:42 +08:00
committed by Daniel Pan
parent 0b022029e5
commit 330407be0b
17 changed files with 247 additions and 200 deletions

View File

@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
import GeneralToolBar from './toolbar/general-toolbar';
const MainContentWrapper = (WrapperedComponent) => {
return class extends React.Component {
return class Wrapper extends React.Component {
constructor(props) {
super(props);