fix: resolve typescript and tailwind compilation errors
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 (
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user