import React, { useState } from 'react' import { Row, Card, Button, Col, Modal } from 'react-bootstrap'; // import db from "../db/index" import '../App.css' import { Link } from 'react-router-dom'; function LocalCode() { const logined = localStorage.getItem('nickname') const cardstyled = { margin: 'auto', padding: '1em', display: 'flex', justifyContent: 'center', width: '100%', borderWidth: '3px', borderRadius: '20px', borderColor: 'rgba(195, 195, 195, 0.753)', color: 'rgb(110, 189, 142)' } const btnstyled2 = { background: 'white', margin: 'auto', borderWidth: '2px', fontSize: '0.5em', color: 'rgb(110, 189, 142)', borderColor: 'rgba(195, 195, 195, 0.753)', borderRadius: '20px', } const [localChange, setLocalChange] = useState(false) const nickname = localStorage.getItem('nickname') return ( <>