import React, { useState } from 'react'; import ReactDOM from 'react-dom'; import { Image, Button, Container, Form, FormControl, Navbar, Nav } from 'react-bootstrap'; import { BrowserRouter as Router, Route, Redirect, Switch, Link } from 'react-router-dom'; import userdefault from './user_default.svg' const userName = "정연우"; const userEmail = "dusdn8455@korea.ac.kr"; let userNickname = "가나다라마바사"; function editNickname1() { //수정버튼 누르면 재입력하게 함 // const pic = document.getElementById("profileImg").value // const html = (
) ReactDOM.render(html, document.getElementById("nickname")) // console.log(document.getElementById("profileImg").value) // // console.log(userdefault) // } function editNickname2() { //수정버튼 누르면 다시 원래대로 돌아가게 함 changeNickname() const html = (