Skip to content

Commit

Permalink
fix experiemental features hook import
Browse files Browse the repository at this point in the history
  • Loading branch information
misspia-cohere committed Apr 30, 2024
1 parent 0dd05d1 commit 55b873f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/coral_web/src/hooks/streamChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
isUnauthorizedError,
useCohereClient,
} from '@/cohere-client';
import { useGetExperimentalFeatures } from '@/hooks/experimentalFeatures';
import { useExperimentalFeatures } from '@/hooks/experimentalFeatures';

interface StreamingParams {
onRead: (data: ChatResponse) => void;
Expand Down Expand Up @@ -46,7 +46,7 @@ export const useStreamChat = () => {
const abortControllerRef = useRef<AbortController | null>(null);
const cohereClient = useCohereClient();
const queryClient = useQueryClient();
const { data: experimentalFeatures } = useGetExperimentalFeatures();
const { data: experimentalFeatures } = useExperimentalFeatures();

useEffect(() => {
return () => {
Expand Down

0 comments on commit 55b873f

Please sign in to comment.