fix: remove default location card label

This commit is contained in:
Nico 2026-05-31 21:28:41 -07:00
parent bafbc0fdac
commit fb35b2b695
2 changed files with 1 additions and 4 deletions

View File

@ -134,9 +134,6 @@ export default function ManageStores() {
{location.address ? (
<p className="store-location">{location.address}</p>
) : null}
{location.is_default ? (
<p className="store-location">Default location</p>
) : null}
</div>
<div className="store-location-controls">

View File

@ -122,7 +122,7 @@ test("manage stores opens a modal to edit and delete household store items", asy
const storeCard = page.locator(".store-card").filter({ hasText: "Costco" });
await expect(storeCard).toBeVisible();
await expect(storeCard.getByText("Costco", { exact: true })).toHaveCount(1);
await expect(storeCard.getByText("Default location")).toBeVisible();
await expect(storeCard.getByText("Default location")).toHaveCount(0);
await expect(storeCard.getByText("Default shopping location")).toHaveCount(0);
await expect(storeCard.getByRole("button", { name: "Manage Items (2)" })).toBeVisible();