diff --git a/src/components/dashboard/__tests__/looking-after-card.test.tsx b/src/components/dashboard/__tests__/looking-after-card.test.tsx index 42da0d447..d67408a89 100644 --- a/src/components/dashboard/__tests__/looking-after-card.test.tsx +++ b/src/components/dashboard/__tests__/looking-after-card.test.tsx @@ -161,7 +161,7 @@ describe("", () => { }); expect(html).toMatch( - /aria-label="Open Managed profile's record; Can read the record, add to it, and change or remove what is in it; Managed profile"/, + /aria-label="Open Managed profile's record; Can read the record, add to it, and change or remove what is in it; Managed profile;/, ); }); diff --git a/src/components/dashboard/looking-after-card.tsx b/src/components/dashboard/looking-after-card.tsx index 96e003658..cccb7f4d4 100644 --- a/src/components/dashboard/looking-after-card.tsx +++ b/src/components/dashboard/looking-after-card.tsx @@ -11,6 +11,7 @@ import { resolveRecordPresentation, type RecordPresentation, } from "@/lib/navigation/record-presentation"; +import { sharedRecordLandingHref } from "@/lib/navigation/shared-record"; import { accountLabel, type AccountAccessEntry, @@ -83,6 +84,9 @@ export function LookingAfterCard() {