mirror of
https://github.com/StanGirard/quivr.git
synced 2024-09-11 13:15:41 +03:00
style(import): fixed
This commit is contained in:
parent
3166d089ee
commit
b72139af60
@ -3,14 +3,17 @@ import { AxiosError } from "axios";
|
||||
import { useParams } from "next/navigation";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
import { useChatApi } from "@/lib/api/chat/useChatApi";
|
||||
import { useBrainConfig } from "@/lib/context/BrainConfigProvider/hooks/useBrainConfig";
|
||||
import { useChatContext } from "@/lib/context/ChatProvider/hooks/useChatContext";
|
||||
import { useToast } from "@/lib/hooks";
|
||||
import { useEventTracking } from "@/services/analytics/useEventTracking";
|
||||
|
||||
import { ChatQuestion } from "../types";
|
||||
|
||||
import { useQuestion } from "./useQuestion";
|
||||
import { ChatQuestion } from "../types";
|
||||
|
||||
|
||||
|
||||
|
||||
@ -29,7 +32,7 @@ export const useChat = () => {
|
||||
const { publish } = useToast();
|
||||
const { createChat, getHistory } = useChatApi();
|
||||
|
||||
const { addStreamQuestion, addQuestion: addQuestionToModel } = useQuestion();
|
||||
const { addStreamQuestion } = useQuestion();
|
||||
|
||||
useEffect(() => {
|
||||
const fetchHistory = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user