commit 5a771bb15817495d94c999421337a842c99e30ff
parent 85bb80472ec1cc80f17620dee02d001f3c9301ae
Author: Johan Lindskogen <johan.lindskogen@gmail.com>
Date: Sun, 1 Apr 2018 13:41:25 +0200
Cleanup
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/usecase/App.tsx b/src/usecase/App.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import * as React from "react";
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
import { connect } from "react-redux";
import * as _ from "lodash";
@@ -29,7 +29,6 @@ class App extends React.Component<Props, State> {
// this.props.dispatch(changeCurrentBuffer(bufferName));
this.drawer.close();
this.props.fetchLinesForBuffer(buffer.id);
- console.log(buffer, buffer.id);
this.setState({
currentBufferId: buffer.id
});
@@ -46,8 +45,6 @@ class App extends React.Component<Props, State> {
/>
);
- console.log({ currentBufferId });
-
return (
<View style={styles.container}>
<Drawer
diff --git a/src/usecase/buffers/ui/BufferList.tsx b/src/usecase/buffers/ui/BufferList.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import * as React from "react";
import {
StyleSheet,
Dimensions,