The main server, and probably only repository in this org.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
290 B

5 years ago
  1. import React from "react";
  2. import Bridges from "../Bridges";
  3. import useAuth from "../../Hooks/auth";
  4. function AdminPage() {
  5. const {user} = useAuth();
  6. if (user.name === "Admin") {
  7. return <></>;
  8. }
  9. return (
  10. <div>
  11. <Bridges/>
  12. </div>
  13. );
  14. }
  15. export default AdminPage;