()
| 45 | |
| 46 | useEffect(() => { |
| 47 | async function getPropValTexts() { |
| 48 | let propValLines = ''; |
| 49 | for await (const [prop, val] of resource.getPropVals()) { |
| 50 | if (!hiddenProps.includes(prop)) { |
| 51 | propValLines = propValLines + (await propertyLine(prop, val, store)); |
| 52 | } |
| 53 | } |
| 54 | setMd(`# ${title}` + propValLines + '\n\n' + description); |
| 55 | } |
| 56 | getPropValTexts(); |
| 57 | }, [resource]); |
| 58 |
no test coverage detected