import React, { useEffect } from 'react' import { Row, Card, Col, Form, Button, FloatingLabel } from 'react-bootstrap'; function NicknameChange() { const cardstyled = { margin: 'auto', padding: '1em', display: 'flex', justifyContent: 'center', width: '100%', borderWidth: '3px', borderRadius: '20px', borderColor: 'rgb(110, 189, 142)', color: '#04AB70' } const inboxstyled = { display: 'flex', flexDirection: 'column', maxWidth: '80%', justifyContent: 'center', margin: 'auto', padding: '0.5em', color: 'black' } const exNick = localStorage.getItem('nickname') console.log(exNick) function handleChange ({ target: { value } }) { localStorage.setItem('nickname', value) } function handleSubmit(event) { event.preventDefault(); window.location.reload(); }; return ( 닉네임 변경 새로운 닉네임으로 변경해보세요
) } export default NicknameChange;