Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswhong committed Jul 10, 2019
2 parents 3be807f + 703791a commit 583c70b
Show file tree
Hide file tree
Showing 8 changed files with 556 additions and 560 deletions.
6 changes: 3 additions & 3 deletions app/components/App.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import * as React from 'react'
import DatasetContainer from '../containers/DatasetContainer'
import Dataset from './Dataset'

// App is the main component and currently the only view
// Everything must flow through here
export default class App extends React.Component {
render () {
return (
<div id='app'>
<DatasetContainer />
<div id='app' style={{ height: '100%' }}>
<Dataset />
</div>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import { Resizable } from '../components/resizable'
import DatasetSidebar from '../components/DatasetSidebar'

const defaultSidebarWidth = 250
const defaultSidebarWidth: number = 250

export default class DatasetContainer extends React.Component<{}, { showDatasetList: boolean, sidebarWidth: number }> {
constructor (p: {}) {
Expand Down Expand Up @@ -30,7 +30,7 @@ export default class DatasetContainer extends React.Component<{}, { showDatasetL
const expandedClass = showDatasetList ? 'expanded' : ''

return (
<div id='dataset-container'>
<div id='dataset-wrapper'>
<div className='header'>
<div
className={'current-dataset header-column ' + expandedClass}
Expand Down
2 changes: 1 addition & 1 deletion app/components/DatasetSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface FileRowProps {
name: string
}

const FileRow: React.SFC<FileRowProps> = (props) => {
const FileRow: React.FunctionComponent<FileRowProps> = (props) => {
return (
<div className='file-row sidebar-row'>
<div className='label'>{props.name}</div>
Expand Down
2 changes: 1 addition & 1 deletion app/containers/AppContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react'
export default class AppComponent extends React.Component {
render () {
return (
<div id="app-container">{this.props.children}</div>
<div style={{ height: '100%' }}>{this.props.children}</div>
)
}
}
184 changes: 0 additions & 184 deletions app/scss/_dataset-container.scss

This file was deleted.

Loading

0 comments on commit 583c70b

Please sign in to comment.