Skip to content

Commit 69b5087

Browse files
Update VoltageHeatmap.tsx
1 parent aac0600 commit 69b5087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/VoltageHeatmap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function VoltageHeatmap({ voltages, loading = false, label, dataC
2929
const fetchHeatmap = async (v: number[], dcBus?: number | null) => {
3030
setFetching(true); setError(null);
3131
const HF_SPACE_URL = "https://gpu2grid-live.hf.space";
32-
32+
try {
3333
const res = await fetch(`${HF_SPACE_URL}/api/heatmap`, {
3434
method: "POST",
3535
headers: { "Content-Type": "application/json" },

0 commit comments

Comments
 (0)