Add my passport href
cgen-92ca3b5afe02420ebc61e6ccfbf0d162
This commit is contained in:
parent
c4738dcaf8
commit
1aaf54f55e
1 changed files with 4 additions and 0 deletions
|
|
@ -139,6 +139,10 @@ const DevelopersDirectory = () => {
|
|||
const [loading, setLoading] = useState(true);
|
||||
const [search, setSearch] = useState("");
|
||||
const [realmFilter, setRealmFilter] = useState("all");
|
||||
const { profile: authProfile } = useAuth();
|
||||
const myPassportHref = authProfile?.username
|
||||
? `/passport/${authProfile.username}`
|
||||
: "/passport/me";
|
||||
|
||||
const filteredProfiles = useMemo(() => {
|
||||
const lowerSearch = search.trim().toLowerCase();
|
||||
|
|
|
|||
Loading…
Reference in a new issue