fix(logo): Use img tag for SVG instead of React component
This commit is contained in:
@@ -4,7 +4,7 @@ import { useSensorStore } from "../stores/sensorStore";
|
||||
import { VoltageDisplay } from "./VoltageDisplay";
|
||||
import { BatteryStatus } from "./BatteryStatus";
|
||||
import { LoginIndicator } from "./LoginIndicator";
|
||||
import TCKLogo from "../../../../logo/tck_logo.svg?react";
|
||||
import TCKLogo from "../../../../logo/tck_logo.svg";
|
||||
|
||||
export function Header() {
|
||||
const [currentTime, setCurrentTime] = useState(new Date());
|
||||
@@ -38,9 +38,7 @@ export function Header() {
|
||||
<div className="bg-gray-950 border-b border-gray-700 px-2 py-1 flex items-center gap-2 text-xs">
|
||||
{/* Logo */}
|
||||
<div className="flex items-center gap-1">
|
||||
<div className="w-6 h-6">
|
||||
<TCKLogo className="w-full h-full" />
|
||||
</div>
|
||||
<img src={TCKLogo} alt="TCK" className="w-6 h-6" />
|
||||
<span className="text-white font-semibold">RTU</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user