build with new analytics stuffs

This commit is contained in:
legop3
2026-06-18 02:35:58 -04:00
parent e7a2abeb9b
commit 7248af47d2
5 changed files with 132 additions and 148 deletions
-1
View File
@@ -1,6 +1,5 @@
// Main Application Shell
// Purpose: Composes the primary rover control interface and page-level layout. Scope: Orchestrates high-level panels, overlays, and feature modules for the default route.
import DriverAnalytics from './components/DriverAnalytics/index.jsx';
import { useCallback, useEffect, useMemo, useState } from 'react';
import TelemetryPanel from './components/TelemetryPanel/index.jsx';
import PiHostStatsCard from './components/PiHostStatsCard/index.jsx';
@@ -1,16 +0,0 @@
import { useEffect } from 'react';
import config from '../../config/driverAnalytics.json';
export default function DriverAnalytics() {
useEffect(() => {
if (!config.enabled) return;
document.head.append(
document
.createRange()
.createContextualFragment(config.tags.join('\n'))
);
}, []);
return null;
}