diff --git a/FU.SPA/src/components/Navbar.jsx b/FU.SPA/src/components/Navbar.jsx index c319010b..827391d4 100644 --- a/FU.SPA/src/components/Navbar.jsx +++ b/FU.SPA/src/components/Navbar.jsx @@ -10,10 +10,15 @@ export default function Navbar() { const renderTabContent = () => { if (user) { + // if user has a custom pfp then use that, if not then use MUI instead of default pfp + const defaultPFP = user.pfpUrl.includes('https://tr.rbxcdn.com/38c6edcb50633730ff4cf39ac8859840/420/420/Hat/Png'); + const pfpComponent = !defaultPFP + ? + : ; return ( <>
  • - + {pfpComponent}