( store: Store, compilerOutput: CompilerOutput, )
| 217 | } |
| 218 | |
| 219 | function tabifyCached( |
| 220 | store: Store, |
| 221 | compilerOutput: CompilerOutput, |
| 222 | ): Promise<Map<string, ReactNode>> { |
| 223 | const cached = tabifyCache.get(store); |
| 224 | if (cached) return cached; |
| 225 | const result = tabify(store.source, compilerOutput, store.showInternals); |
| 226 | tabifyCache.set(store, result); |
| 227 | return result; |
| 228 | } |
| 229 | |
| 230 | function Fallback(): JSX.Element { |
| 231 | return ( |
no test coverage detected