setAmountFilter(evt.target.value)}
+ value={obj.amountFilter}
+ onChange={(evt) => obj.setAmountFilter(evt.target.value)}
placeholder='Filter by minimum value'
type="number"
/>
diff --git a/src/livepeer.js b/src/livepeer.js
index 4091640..efa532f 100644
--- a/src/livepeer.js
+++ b/src/livepeer.js
@@ -8,8 +8,11 @@ import Orchestrator from "./orchestratorViewer";
import Stat from "./statViewer";
// Shows the EventViewer and other Livepeer related info
+const defaultMaxShown = 100;
const Livepeer = (obj) => {
+ const [amountFilter, setAmountFilter] = useState("0");
+ const [maxAmount, setMaxAmount] = useState(defaultMaxShown);
const [prefill, setPrefill] = useSearchParams();
const [searchTerm, setSearchTerm] = useState("");
const dispatch = useDispatch();
@@ -176,6 +179,8 @@ const Livepeer = (obj) => {
@@ -194,7 +199,9 @@ const Livepeer = (obj) => {