(newMetadata: Record<string, string>)
| 286 | }; |
| 287 | |
| 288 | const handleMetadataChange = (newMetadata: Record<string, string>) => { |
| 289 | const sanitizedMetadata = filterReservedMetadata(newMetadata); |
| 290 | setMetadata(sanitizedMetadata); |
| 291 | localStorage.setItem("lastMetadata", JSON.stringify(sanitizedMetadata)); |
| 292 | }; |
| 293 | const nextRequestId = useRef(0); |
| 294 | const rootsRef = useRef<Root[]>([]); |
| 295 |
nothing calls this directly
no test coverage detected