diff --git a/app/Chart.tsx b/app/Chart.tsx
index e46d7f9..81b30f0 100644
--- a/app/Chart.tsx
+++ b/app/Chart.tsx
@@ -1,5 +1,6 @@
import { NamedChartData } from './DataContainer';
import React from 'react';
+import { useSearchParams } from 'next/navigation';
import {
Bar,
@@ -23,6 +24,9 @@ export default function Chart({
daily: boolean;
chartData: NamedChartData[];
}) {
+ const searchParams = useSearchParams();
+ const boring = searchParams.get('boring');
+
const getMaxValueInData = React.useCallback(() => {
return chartData.reduce((memo, val) => {
const valSum = val.acoustic + val.electric;
@@ -150,7 +154,12 @@ export default function Chart({
{value}
)}
/>
-
+