mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 10:18:48 +00:00
Add @ next to handle on editProfile
This commit is contained in:
parent
5b5e785142
commit
2d426840c0
@ -2,7 +2,6 @@ import React, { Component } from "react";
|
|||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
// TODO: Add a read-only '@' in the left side of the handle input
|
|
||||||
|
|
||||||
// Material-UI stuff
|
// Material-UI stuff
|
||||||
import Box from "@material-ui/core/Box"
|
import Box from "@material-ui/core/Box"
|
||||||
@ -243,7 +242,7 @@ export class editProfile extends Component {
|
|||||||
name="handle"
|
name="handle"
|
||||||
label="Handle*"
|
label="Handle*"
|
||||||
className={classes.textField}
|
className={classes.textField}
|
||||||
value={this.state.handle}
|
value={"@" + this.state.handle}
|
||||||
disabled
|
disabled
|
||||||
helperText="(disabled)"
|
helperText="(disabled)"
|
||||||
// INFO: These will be uncommented if changing usernames is allowed
|
// INFO: These will be uncommented if changing usernames is allowed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user