Skip to content

Commit b1001df

Browse files
committed
refactor: remove unused hooks and dependencies from pages within dashboard
1 parent efe6976 commit b1001df

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

app/dashboard/analytics/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
SimpleGrid,
88
Skeleton,
99
Stack,
10-
rem,
1110
} from '@mantine/core';
1211

1312
import {

app/dashboard/default/page.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,6 @@ function Page() {
4848
loading: statsLoading,
4949
} = useAllStats();
5050

51-
const {
52-
data: salesData,
53-
error: salesError,
54-
loading: salesLoading,
55-
} = useSales();
56-
57-
const {
58-
data: trafficData,
59-
error: trafficError,
60-
loading: trafficLoading,
61-
} = useTraffic();
62-
6351
return (
6452
<>
6553
<>

0 commit comments

Comments
 (0)