Update dependencies and import paths

This commit is contained in:
n4ze3m
2024-02-23 23:25:17 +05:30
parent 743f8d4d36
commit 1c980c4059
38 changed files with 450 additions and 6042 deletions

View File

@@ -1,10 +1,10 @@
import logoImage from "data-base64:~assets/icon.png"
import CogIcon from "@heroicons/react/24/outline/CogIcon"
import Squares2X2Icon from "@heroicons/react/24/outline/Squares2X2Icon"
import { ArrowPathIcon } from "@heroicons/react/24/outline"
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"
export const SidepanelHeader = () => {
const { clearChat, isEmbedding } = useMessage()
return (
@@ -16,11 +16,8 @@ export const SidepanelHeader = () => {
<div className="flex items-center space-x-3">
{isEmbedding ? (
<Tooltip
title="It may take a few minutes to embed the page. Please wait..."
>
<Squares2X2Icon className="h-5 w-5 text-gray-500 dark:text-gray-400 animate-bounce animate-infinite" />
<Tooltip title="It may take a few minutes to embed the page. Please wait...">
<BoxesIcon className="h-5 w-5 text-gray-500 dark:text-gray-400 animate-bounce animate-infinite" />
</Tooltip>
) : null}
<button