import useSWR from 'swr' import { BASE_URL } from '../../constants' import { fetcher } from '../../http/axiosInstance' const RegionSelect = () => { const { data } = useSWR(`/gis/regions/borders`, (url) => fetcher(url, BASE_URL.nest), { revalidateOnFocus: false, revalidateIfStale: false }) return (