Update Lucide icons imports

This commit is contained in:
n4ze3m
2024-02-25 18:55:29 +05:30
parent 43f3727369
commit 86d4d53693
11 changed files with 30 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
import { useQuery } from "@tanstack/react-query"
import { RotateCcw } from "lucide-react"
import { useEffect, useState } from "react"
import { RotateCcw } from "~icons/RotateCcw"
import {
getOllamaURL,
isOllamaRunning,

View File

@@ -1,4 +1,4 @@
import { PencilSquareIcon } from "~icons/PencilSquareIcon"
import { PencilIcon } from "lucide-react"
import { useMessage } from "../../../hooks/useMessage"
export const PlaygroundNewChat = () => {
@@ -14,7 +14,7 @@ export const PlaygroundNewChat = () => {
<button
onClick={handleClick}
className="flex w-full border bg-transparent hover:bg-gray-200 dark:hover:bg-gray-800 text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 focus:ring-offset-gray-100 rounded-md p-2 dark:border-gray-800">
<PencilSquareIcon className="mx-3 h-5 w-5" aria-hidden="true" />
<PencilIcon className="mx-3 h-5 w-5" aria-hidden="true" />
<span className="inline-flex font-semibol text-white text-sm">
New Chat
</span>