async function fetchExplorerData()

in src/components/graphs/explorer.tsx [87:97]


  async function fetchExplorerData() {
    try {
      setLoading(true);
      const response = await middlewareApi.get("/explorer/getExplorerData");
      setData(response?.data[0]);
      setLoading(false);
    } catch (error) {
      setLoading(false);
      setError(error);
    }
  }