import React from 'react';
import {
//Navigate,
Outlet } from 'react-router-dom';
// tools
//import AuthenticationService from '../../service/authentication-service';
const ProtectedRoute = () => {
/*if (!AuthenticationService.wasLoggedIn()) {
return ();
}
if (AuthenticationService.isExpired()) {
return ();
}
if (!AuthenticationService.isLoggedIn()) {
return ();
}*/
/*if (window.location.pathname === '/') {
return ();
}*/
return ;
}
export default ProtectedRoute;