import React, { Component } from "react"; import { Route, Link, Switch } from "react-router-dom"; import { Paper, Tabs, Tab} from '@material-ui/core'; import ChangePassword from "./ChangePassword.js"; import SpotifyLink from "./SpotifyLink.js"; import LastFM from "./LastFM.js"; /** * Settings card tabs structure for hosting password/spotify linked/last.fm username tabs */ class Settings extends Component { constructor(props){ super(props); this.state = { tab: 0 } this.handleChange = this.handleChange.bind(this); } /** * Handle tab change event * @param {*} e Event args * @param {*} newValue New tab object */ handleChange(e, newValue){ this.setState({ tab: newValue }); } render() { return (