Fix linter/transpiler errors, formatting

This commit is contained in:
raucao committed 2024-10-24 15:00:46 +02:00
1 parent fc711c2194
commit 0096f3cae3
6 files changed
+30 -20

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ export default class Article {
return tag ? tag[1] : "Untitled";
}
get image(): string {
get image(): string | undefined {
const tag = this.event.tags.find((t) => t[0] === "image");
return tag ? tag[1] : undefined;
}