File size: 211 Bytes
246d201
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { useQuery } from "@tanstack/react-query";
import OpenHands from "#/api/open-hands";

export const useConfig = () =>
  useQuery({
    queryKey: ["config"],
    queryFn: OpenHands.getConfig,
  });