import React from "react";
import Bridges from "../Bridges";
import useAuth from "../../Hooks/auth";

function AdminPage() {
  const {user} = useAuth();
  if (user.name === "Admin") {
    return <></>;
  }

  return (
    <div>
      <Bridges/>
    </div>
  );
}

export default AdminPage;
