fixing deprecations, changing spotify link
This commit is contained in:
parent
3fbeaa10d0
commit
127544ddc1
@ -137,7 +137,7 @@ function PlaylistGrid(props){
|
||||
<Grid container
|
||||
spacing={3}
|
||||
direction="row"
|
||||
justify="flex-start"
|
||||
justifyContent="flex-start"
|
||||
alignItems="flex-start"
|
||||
style={{padding: 24}}>
|
||||
|
||||
|
@ -641,7 +641,7 @@ function ListBlock(props) {
|
||||
return <Grid container
|
||||
spacing={3}
|
||||
direction="row"
|
||||
justify="flex-start"
|
||||
justifyContent="flex-start"
|
||||
alignItems="flex-start"
|
||||
style={{padding: '24px'}}>
|
||||
{props.list.map((part) => <BlockGridItem part={ part } key={ part } handler={props.handler}/>)}
|
||||
|
@ -42,7 +42,7 @@ class SpotifyLink extends Component {
|
||||
|
||||
{/* STATUS */}
|
||||
<CardContent>
|
||||
<Typography variant="h4" color="textPrimary">Admin Functions</Typography>
|
||||
<Typography variant="h4" color="textPrimary">Spotify Link</Typography>
|
||||
<Typography variant="body2" color="textSecondary">Status: { this.state.spotify_linked ? "Linked" : "Unlinked" }</Typography>
|
||||
</CardContent>
|
||||
|
||||
|
@ -81,7 +81,7 @@ function TagGrid(props){
|
||||
<Grid container
|
||||
spacing={3}
|
||||
direction="row"
|
||||
justify="flex-start"
|
||||
justifyContent="flex-start"
|
||||
alignItems="flex-start"
|
||||
style={{padding: '24px'}}>
|
||||
<Grid item xs={12} sm={6} md={2}>
|
||||
|
@ -501,7 +501,7 @@ function ListBlock(props) {
|
||||
return <Grid container
|
||||
spacing={3}
|
||||
direction="row"
|
||||
justify="flex-start"
|
||||
justifyContent="flex-start"
|
||||
alignItems="flex-start"
|
||||
style={{padding: '24px'}}>
|
||||
{props.list.map((music_obj) => <BlockGridItem music_obj={ music_obj } key={ music_obj.name }
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { createMuiTheme, responsiveFontSizes } from '@material-ui/core/styles';
|
||||
import { createTheme, responsiveFontSizes } from '@material-ui/core/styles';
|
||||
|
||||
let GlobalTheme = createMuiTheme({
|
||||
let GlobalTheme = createTheme({
|
||||
root: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
|
@ -3,7 +3,7 @@ import { Grid, CircularProgress } from '@material-ui/core';
|
||||
|
||||
function Progress (props) {
|
||||
return (
|
||||
<Grid container justify="flex-start" alignItems="flex-start" align="center" style={{ padding: props.padding }}>
|
||||
<Grid container justifyContent="flex-start" alignItems="flex-start" align="center" style={{ padding: props.padding }}>
|
||||
<Grid item xs={ props.colWidth }>
|
||||
<CircularProgress color="secondary" />
|
||||
</Grid>
|
||||
|
Loading…
Reference in New Issue
Block a user