fix: resolve typescript and tailwind compilation errors

This commit is contained in:
2026-06-03 22:09:56 +02:00
parent d34d34565f
commit 2fda90729e
5 changed files with 8 additions and 15 deletions
+1 -7
View File
@@ -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);
}