mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Remove unused API request
This commit is contained in:
@@ -25,8 +25,6 @@ interface ChatSideBarProps {
|
|||||||
const fetcher = (url: string) => fetch(url).then((res) => res.json());
|
const fetcher = (url: string) => fetch(url).then((res) => res.json());
|
||||||
|
|
||||||
export function ChatSidebar({ ...props }: ChatSideBarProps) {
|
export function ChatSidebar({ ...props }: ChatSideBarProps) {
|
||||||
const { data: agentConfigurationOptions, error: agentConfigurationOptionsError } =
|
|
||||||
useSWR<AgentConfigurationOptions>("/api/agents/options", fetcher);
|
|
||||||
|
|
||||||
if (props.isMobileWidth) {
|
if (props.isMobileWidth) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user