Skip to content

Commit 6bd4980

Browse files
committed
chore: fix formatting in D1 bookmarks playground
1 parent 38409d0 commit 6bd4980

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎playground/d1-bookmarks/src/routing-probe.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ export function RoutingProbePanel({
3838
`HTTP ${response.status}; request ID: ${response.headers.get('cf-ray') ?? 'unavailable'}\n${text}`,
3939
);
4040
}
41-
if (body.path !== 'void-run') {throw new Error(`HTTP ${response.status}\n${text}`);}
41+
if (body.path !== 'void-run') {
42+
throw new Error(`HTTP ${response.status}\n${text}`);
43+
}
4244
setResults((previous) => [...previous, body]);
4345
setProgress(round + 1);
44-
if (!response.ok || body.error) {break;}
46+
if (!response.ok || body.error) {
47+
break;
48+
}
4549
}
4650
} catch (cause) {
4751
setError(JSON.stringify(serializeError(cause), null, 2));

0 commit comments

Comments
 (0)