react-dom version

This commit is contained in:
unknown
2025-01-07 20:19:14 +07:00
parent cabc5be6a3
commit f3734ff4fd
3 changed files with 59 additions and 133 deletions

View File

@ -21,6 +21,7 @@ import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import InfoIcon from "@mui/icons-material/Info";
import Logout from "@mui/icons-material/Logout";
import { useNavigate } from 'react-router-dom';
import logo from '../logo/logo.jpeg';
const Sidebar = () => {
const [userRole, setUserRole] = useState('');
@ -276,7 +277,7 @@ const Sidebar = () => {
<Typography variant="h5" sx={{ textAlign: 'center', margin: 2 }}>
<Button onClick={() => navigate('/')} sx={{ textAlign: 'center', fontSize: '20px', color: 'wheat' }}>
<Avatar
src="../logo/Logo.jpeg"
src={logo}
alt="T-PAY"
sx={{ width: 40, height: 40, backgroundColor: 'red' }}
/>