Skip to content

Commit

Permalink
Remove removed types import statement (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb authored Jul 12, 2024
1 parent c8f266a commit cefa2eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/hooks/api/intelligence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { useCallback, useState } from "react";
import { useSelector } from "react-redux";
import { selectAuth } from "../../store/authSlice";
import { selectDocument } from "../../store/documentSlice";
import { IntelligenceFeature } from "../../constants/intelligence";

export const useIntelligenceFeatureStream = (feature: IntelligenceFeature) => {
export const useIntelligenceFeatureStream = (feature: string) => {
const authStore = useSelector(selectAuth);
const documentSotre = useSelector(selectDocument);
const [data, setData] = useState<string | null>(null);
Expand Down

0 comments on commit cefa2eb

Please sign in to comment.