Remove rethink references and old main js file

Remove them because rethink integration will be saved for the paid
model.

The main.jsx file was replaced by the app/containers/App.jsx file.
This commit is contained in:
Joey Payne 2016-03-05 16:48:41 -07:00
commit 0ecf7b818b
2 changed files with 0 additions and 167 deletions

View file

@ -1,7 +1,6 @@
import React from 'react'
import getMuiTheme from 'material-ui/lib/styles/getMuiTheme'
import Styles from 'material-ui/lib/styles'
import Rethink from 'rethinkdbdash'
import mui from 'material-ui'
import * as ContextMenuActions from '../actions'
@ -20,27 +19,9 @@ const {
const DefaultRawTheme = Styles.LightRawTheme
let r = Rethink({
db: 'technote',
servers: [
{host: '162.243.255.144',
port: 28015}
]})
function createTables(){
r.tableCreate('notes').run()
.then(function(){
r.table('notes').indexCreate('account_id').run()
})
.error(function(){})
r.tableCreate('accounts').run().error(function(){})
}
class App extends React.Component {
constructor(props, context){
super(props, context)
createTables()
this.state = {
entries: [],
}