commit 4c501bc90bebed08525c85df3ddeaee50f6b0c7c
parent 16e98de40e20813af1b4ef710760d770f2e8aad5
Author: Matthew Horan <matt@matthoran.com>
Date: Fri, 8 Mar 2019 07:41:14 -0500
Open drawer when no buffer is open
Closes #13
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/usecase/App.tsx b/src/usecase/App.tsx
@@ -106,6 +106,8 @@ class App extends React.Component<Props, State> {
const { currentBufferId, fetchBufferInfo } = this.props;
if (currentBufferId) {
fetchBufferInfo(this.props.currentBufferId);
+ } else {
+ this.drawer.openDrawer();
}
}