2019-07-29 11:44:10 +01:00
|
|
|
import React, { Component } from "react";
|
|
|
|
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
|
|
|
|
const axios = require('axios');
|
|
|
|
|
|
|
|
class PlaylistView extends Component{
|
|
|
|
|
|
|
|
constructor(props){
|
|
|
|
super(props);
|
2019-07-30 16:25:01 +01:00
|
|
|
console.log(this.props);
|
2019-07-29 11:44:10 +01:00
|
|
|
this.state = {
|
2019-07-30 16:25:01 +01:00
|
|
|
name: this.props.match.name
|
2019-07-29 11:44:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
render(){
|
|
|
|
return <p>{this.state.name}</p>;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PlaylistView
|