import React, { useEffect, useState } from 'react'; import { Link } from 'react-router-dom' export default function Side() { const [selected, setSelected] = useState(''); const handleLogout = () => { axios.get('/admin/logout') .then(() => location.href = '/admin/login') } return (
ロゴ
); }