diff --git a/app/components/dashboard.js b/app/components/dashboard.js index 198450c8..32c91e2e 100644 --- a/app/components/dashboard.js +++ b/app/components/dashboard.js @@ -13,31 +13,6 @@ export function Dashboard({ const [openIndex, setOpenIndex] = useState(null); const [liveTranscript, setLiveTranscript] = useState(""); - topics = topics.map((topic, i) => { - topic["decibel"] = generateDecibelData(i + 1 + 333); // for looks only - return topic; - }); - - const generateDecibelData = (x) => { - let data = []; - let random = Mulberry32(123456789 + x); - for (let i = 0; i < 50; i++) { - data.push(Math.floor(random() * 30) + 10); // generate random values between 10 and 40 - } - return data; - }; - const generateDecibelGraph = (decibelData) => { - return decibelData.map((decibel, i) => ( -
-   -
- )); - }; - return ( <>
@@ -69,7 +44,6 @@ export function Dashboard({
- {generateDecibelGraph(item.decibel)}
{openIndex === index && ( @@ -83,7 +57,6 @@ export function Dashboard({
Live
Transcript
- {generateDecibelGraph(generateDecibelData())}