Update Airport admin page
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Header } from '@components/Header';
|
||||
import { Navigate } from 'react-router';
|
||||
import { useUserContext } from '@components/context/UserContext.tsx';
|
||||
import { AirportTable } from '@components/AirportTable';
|
||||
import { AirportDrop } from '@components/AirportDrop';
|
||||
|
||||
export function Administration() {
|
||||
const { user } = useUserContext();
|
||||
@@ -12,7 +14,8 @@ export function Administration() {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
Todo: administration {user?.email}
|
||||
<AirportTable />
|
||||
<AirportDrop />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user