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,8 +1,8 @@
import { useQuery } from "@tanstack/react-query"
import { Select } from "antd"
import { RotateCcw } from "lucide-react"
import { useEffect, useState } from "react"
import { useMessage } from "~hooks/useMessage"
import { RotateCcw } from "~icons/RotateCcw"
import {
fetchChatModels,
getOllamaURL,

View File

@@ -2,9 +2,7 @@ import logoImage from "data-base64:~assets/icon.png"
import { useMessage } from "~hooks/useMessage"
import { Link } from "react-router-dom"
import { Tooltip } from "antd"
import { CogIcon } from "~icons/CogIcon"
import { BoxesIcon } from "~icons/BoxesIcon"
import { ArrowPathIcon } from "~icons/ArrowPathIcon"
import { BoxesIcon, CogIcon, RefreshCcw } from "lucide-react"
export const SidepanelHeader = () => {
const { clearChat, isEmbedding } = useMessage()
return (
@@ -25,7 +23,7 @@ export const SidepanelHeader = () => {
clearChat()
}}
className="flex items-center space-x-1 focus:outline-none focus-visible:ring-2 focus-visible:ring-pink-700">
<ArrowPathIcon className="h-5 w-5 text-gray-500 dark:text-gray-400" />
<RefreshCcw className="h-5 w-5 text-gray-500 dark:text-gray-400" />
</button>
<Link to="/settings">
<CogIcon className="h-5 w-5 text-gray-500 dark:text-gray-400" />