Skip to content

Commit 19ebff7

Browse files
committed
feat: dependency upgrades
1 parent 6d0f814 commit 19ebff7

File tree

5 files changed

+178
-185
lines changed

5 files changed

+178
-185
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@mantine/core": "^7.13.0",
14-
"@mantine/dropzone": "^7.13.0",
15-
"@mantine/hooks": "^7.13.0",
16-
"@mantine/notifications": "^7.13.0",
17-
"@tabler/icons-react": "^3.18.0",
13+
"@mantine/core": "^7.13.1",
14+
"@mantine/dropzone": "^7.13.1",
15+
"@mantine/hooks": "^7.13.1",
16+
"@mantine/notifications": "^7.13.1",
17+
"@tabler/icons-react": "^3.19.0",
1818
"compressorjs": "^1.2.1",
1919
"react": "^18.3.1",
2020
"react-dom": "^18.3.1",
@@ -24,9 +24,9 @@
2424
"devDependencies": {
2525
"@eslint/compat": "^1.1.1",
2626
"@eslint/js": "^9.11.1",
27-
"@types/react": "^18.3.9",
27+
"@types/react": "^18.3.10",
2828
"@types/react-dom": "^18.3.0",
29-
"@vitejs/plugin-react": "^4.3.1",
29+
"@vitejs/plugin-react": "^4.3.2",
3030
"eslint": "^9.11.1",
3131
"eslint-plugin-react": "^7.37.0",
3232
"globals": "^15.9.0",

src/routes/About/index.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ const About = () => {
1313
useEffect(() => {
1414
d1(setPageIndex(1));
1515
document.title = "About | Compressr";
16-
}, []);
1716

18-
if (allowCookies) {
19-
ReactGA.send({
20-
hitType: "pageview",
21-
page: "/about",
22-
title: "About | Compressr",
23-
});
24-
}
17+
if (allowCookies) {
18+
ReactGA.send({
19+
hitType: "pageview",
20+
page: "/about",
21+
title: "About | Compressr",
22+
});
23+
}
24+
}, []);
2525

2626
return (
2727
<Container>

src/routes/Home/index.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ const Home = () => {
7777
useEffect(() => {
7878
d1(setPageIndex(0));
7979
document.title = "Home | Compressr";
80-
}, []);
8180

82-
if (allowCookies) {
83-
ReactGA.send({
84-
hitType: "pageview",
85-
page: "/",
86-
title: "Home | Compressr",
87-
});
88-
}
81+
if (allowCookies) {
82+
ReactGA.send({
83+
hitType: "pageview",
84+
page: "/",
85+
title: "Home | Compressr",
86+
});
87+
}
88+
}, []);
8989

9090
return (
9191
<Container size="md">

src/routes/NotFound/index.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ const NotFound = () => {
1818
navigate("/");
1919
};
2020

21-
if (allowCookies) {
22-
ReactGA.send({
23-
hitType: "pageview",
24-
page: "/not-found",
25-
title: "Not Found | Compressr",
26-
});
27-
}
28-
2921
useEffect(() => {
3022
document.title = "Not Found | Compressr";
23+
24+
if (allowCookies) {
25+
ReactGA.send({
26+
hitType: "pageview",
27+
page: "/not-found",
28+
title: "Not Found | Compressr",
29+
});
30+
}
3131
}, []);
3232

3333
return (

0 commit comments

Comments
 (0)