()
| 20 | if (!projectName) return; |
| 21 | |
| 22 | const apply = () => { |
| 23 | const current = document.title; |
| 24 | if (current === lastApplied.current) return; |
| 25 | const next = inject(current, projectName); |
| 26 | if (next !== current) { |
| 27 | document.title = next; |
| 28 | } |
| 29 | lastApplied.current = document.title; |
| 30 | }; |
| 31 | |
| 32 | apply(); |
| 33 |
no test coverage detected