Skip to content

Commit 5a894b5

Browse files
committed
refactor: remove unused query handling code
- Remove useHandleAIQuery and useGetLastUserQuery hooks (unused by flows) - Fix missing semicolon in useChatBotSettings import - Both QA and metrics flows handle API calls directly with their own UUIDs
1 parent fa62f4e commit 5a894b5

File tree

3 files changed

+1
-95
lines changed

3 files changed

+1
-95
lines changed

src/hooks/useChatBotSettings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DEFAULT_CONFIG } from '../config/constants';
33
import NewChatButton from '../components/NewChatButton';
44
import UserIcon from '../components/UserIcon';
55
import LoginButton from '../components/LoginButton';
6-
import { Button } from "react-chatbotify"
6+
import { Button } from "react-chatbotify";
77

88
/**
99
* Custom hook to generate ChatBot settings

src/hooks/useGetLastUserQuery.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/hooks/useHandleAIQuery.js

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)