commit 146f2047c2852eba5bf0707ef2682007dc75c382
parent 1f3cd51052fdf1f9535f9937980b502e6a4b29c2
Author: Matthew Horan <matt@matthoran.com>
Date: Sun, 6 Jan 2019 13:50:36 -0500
Fix types in App
Running the tests exposed a number of type errors in App.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/usecase/App.tsx b/src/usecase/App.tsx
@@ -36,10 +36,11 @@ interface Props {
interface State {
showTopic: boolean;
+ drawerWidth: number;
}
class App extends React.Component<Props, State> {
- drawer: DrawerNavigator;
+ drawer: DrawerLayout;
drawerWidth = () => {
/*
@@ -117,7 +118,6 @@ class App extends React.Component<Props, State> {
buffers,
currentBufferId,
currentBuffer,
- fetchLinesForBuffer,
hasHighlights
} = this.props;