Skip to content

Commit 4453e84

Browse files
committed
fix linterrors
1 parent 89b6a49 commit 4453e84

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

static/js/public/featured-snaps.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,7 @@ function buildCard(
126126

127127
content.addEventListener("click", () => {
128128
if (category === "featured") {
129-
trackFeaturedSnapClicked(
130-
data.package_name,
131-
index + 1,
132-
"home",
133-
);
129+
trackFeaturedSnapClicked(data.package_name, index + 1, "home");
134130
}
135131
});
136132
}

static/js/store/components/PackageList/PackageList.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import {
99
} from "@canonical/react-components";
1010

1111
import { PackageFilter } from "../PackageFilter";
12-
import { trackSearchResultClicked, trackFeaturedSnapClicked } from "../../utils";
12+
import {
13+
trackSearchResultClicked,
14+
trackFeaturedSnapClicked,
15+
} from "../../utils";
1316

1417
import type { RefObject } from "react";
1518
import type { Category, Package, Packages } from "../../types";

0 commit comments

Comments
 (0)