diff --git a/src/components/InputPanel.tsx b/src/components/InputPanel.tsx index 1c4330f..8d77fd9 100644 --- a/src/components/InputPanel.tsx +++ b/src/components/InputPanel.tsx @@ -1,5 +1,4 @@ import { useState, type FormEvent, type KeyboardEvent } from "react"; -import { Link } from "react-router-dom"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCircleNotch, @@ -288,9 +287,4 @@ export function InputPanel({ ); } -function isMac(): boolean { - if (typeof navigator === "undefined") return false; - const p = navigator.platform || ""; - const ua = navigator.userAgent || ""; - return /Mac|iPhone|iPad|iPod/.test(p) || /Mac OS X/.test(ua); -} + diff --git a/src/components/ResultsPanel.tsx b/src/components/ResultsPanel.tsx index 5836c92..2dd58c7 100644 --- a/src/components/ResultsPanel.tsx +++ b/src/components/ResultsPanel.tsx @@ -1,5 +1,5 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faMusic, faSync, faSparkles } from "@fortawesome/free-solid-svg-icons"; +import { faMusic, faSync } from "@fortawesome/free-solid-svg-icons"; import type { SongAssets } from "../lib/types"; import { SkeletonCard } from "./SkeletonCard"; import { TitlesCard } from "./cards/TitlesCard"; @@ -48,7 +48,6 @@ export function ResultsPanel({ regenerating, }: ResultsPanelProps) { const showSkeletons = loading && !assets; - const { t } = useI18n(); return (