Fix some lint errors

This commit is contained in:
Przemek Więch
2026-04-28 23:28:52 +02:00
parent 0443741537
commit 36852348a8
4 changed files with 7 additions and 9 deletions

View File

@@ -60,13 +60,13 @@ function attributeDetails(entry: GedcomEntry) {
return null;
}
let attributeName = entry.tree
const attributeName = entry.tree
.filter((subentry) => subentry.tag === 'TYPE')
.flatMap((type) => getData(type))
.join()
.trim();
let attributeValue = getData(entry).join(' ').trim();
const attributeValue = getData(entry).join(' ').trim();
if(attributeName) {
return (
<>