diff options
author | Stanley Yip <stanley_yip@brown.edu> | 2020-04-04 15:52:20 -0700 |
---|---|---|
committer | Stanley Yip <stanley_yip@brown.edu> | 2020-04-04 15:52:20 -0700 |
commit | 807743bdd351b639e3328fa1ed6f128738f95b9f (patch) | |
tree | 18cab4e96d130f5400e619ace0b954da3756579d /src/mobile/MobileInterface.tsx | |
parent | 5338dfd24d0f6a65bb3131332746c1d2c82ef7f2 (diff) |
warning fixes
Diffstat (limited to 'src/mobile/MobileInterface.tsx')
-rw-r--r-- | src/mobile/MobileInterface.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx index ed6b74ca8..5f766c121 100644 --- a/src/mobile/MobileInterface.tsx +++ b/src/mobile/MobileInterface.tsx @@ -138,7 +138,7 @@ export default class MobileInterface extends React.Component { whenActiveChanged={emptyFunction} bringToFront={emptyFunction} ContainingCollectionView={undefined} - ContainingCollectionDoc={undefined} /> + ContainingCollectionDoc={undefined} />; } return "hello"; } @@ -198,7 +198,7 @@ export default class MobileInterface extends React.Component { LibraryPath={emptyPath} fieldKey={""} dropAction={"alias"} - bringToFront={emptyFunction } + bringToFront={emptyFunction} addDocTab={returnFalse} pinToPres={emptyFunction} PanelHeight={() => window.innerHeight} @@ -212,7 +212,8 @@ export default class MobileInterface extends React.Component { ScreenToLocalTransform={Transform.Identity} renderDepth={0} ContainingCollectionView={undefined} - ContainingCollectionDoc={undefined}> + ContainingCollectionDoc={undefined} + rootSelected={returnTrue}> </CollectionView> </div> ); |