()
| 327 | const StructureContext = s.createContext<Module>() |
| 328 | |
| 329 | export function useStructure(): Module { |
| 330 | const ctx = s.useContext(StructureContext) |
| 331 | if (!ctx) throw new Error('Structure context not found') |
| 332 | return ctx |
| 333 | } |
| 334 | |
| 335 | export function StructureView(): s.JSXElement { |
| 336 | const structure = createStructure() |
no outgoing calls
no test coverage detected
searching dependent graphs…