MCPcopy Create free account
hub / github.com/ShipSecAI/studio / formatData

Function formatData

frontend/src/components/timeline/EventInspector.tsx:328–334  ·  view source on GitHub ↗
(data: Record<string, unknown>)

Source from the content-addressed store, hash-verified

326 };
327
328 const formatData = (data: Record<string, unknown>) => {
329 try {
330 return JSON.stringify(data, null, 2);
331 } catch (_error) {
332 return 'Unable to render data payload';
333 }
334 };
335
336 return (
337 <React.Fragment>

Callers 1

EventInspectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected