Skip to content

Commit

Permalink
Merge pull request #1857 from bluewave-labs/feat/test-dist-monitor
Browse files Browse the repository at this point in the history
feat: test DePIN monitor
  • Loading branch information
ajhollid authored Mar 3, 2025
2 parents b2188fd + 89d2226 commit 0823447
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState, useEffect, useRef } from "react";
import { networkService } from "../../../../main";
import { useSelector } from "react-redux";

const getRandomDevice = () => {
const manufacturers = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const MonitorTable = ({ isLoading, monitors }) => {
const theme = useTheme();
const navigate = useNavigate();
const { determineState } = useMonitorUtils();

const headers = [
{
id: "name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ const useSubscribeToMonitors = (page, rowsPerPage) => {
const cleanup = networkService.subscribeToDistributedUptimeMonitors({
teamId: user.teamId,
limit: 25,
types: ["distributed_http"],
types: [
typeof import.meta.env.VITE_DEPIN_TESTING === "undefined"
? "distributed_http"
: "distributed_test",
],
page,
rowsPerPage,
filter: null,
Expand Down

0 comments on commit 0823447

Please sign in to comment.