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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user