Skip to content

Commit

Permalink
style: Change to flex direction row in <Layout/>
Browse files Browse the repository at this point in the history
  • Loading branch information
sujinleeme committed Jul 22, 2018
1 parent 502645d commit 33f7af3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Layout = ({classes, children}) => {
container
alignItems="center"
justify="center"
direction="row"
direction="column"
className={ classes.root }
>
{ children }
Expand Down
8 changes: 6 additions & 2 deletions src/pages/Upload.js → src/pages/UploadPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ import React from "react"
import { Link } from "react-router-dom"
import Layout from "../components/Layout"
import AudioFileDropZone from "../components/AudioFileDropZone"
import Waveform from '../components/Waveform'

const Upload = () => {
const UploadPage = () => {
return (
<div>
<Layout>
<AudioFileDropZone />
</Layout>
<Waveform
audioFile="https://ia902606.us.archive.org/35/items/shortpoetry_047_librivox/song_cjrg_teasdale_64kb.mp3"
/>
</div>
)
}

export default Upload
export default UploadPage

0 comments on commit 33f7af3

Please sign in to comment.