Skip to content

Commit 13a772e

Browse files
Update CatalogueContent.tsx
1 parent acc6458 commit 13a772e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/CatalogueContent.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const CatalogueContent = () => {
7676
try {
7777
const papersResponse = await axios.get<Filters>("/api/papers", {
7878
params: { subject },
79-
});
79+
});g
8080
const data: Filters = papersResponse.data;
8181
const papersData = data.papers;
8282
setFilterOptions(data);
@@ -149,12 +149,12 @@ const CatalogueContent = () => {
149149
);
150150

151151
const handleDownloadAll = useCallback(async () => {
152-
if (typeof window !== "undefined" && window.gtag) {
152+
/* if (typeof window !== "undefined" && window.gtag) {
153153
window.gtag("event", "download_all_clicked", {
154154
event_category: "Paper Downloads",
155155
event_label: "Download All Clicked",
156156
});
157-
}
157+
} */
158158

159159
for (const paper of selectedPapers) {
160160
const extension = paper.finalUrl.split(".").pop();

0 commit comments

Comments
 (0)