export function renderMailroom(mail: MessageWithNames[]): string {
return `
+ <div hx-trigger="every 600s" hx-get="/poll/mailroom">
+ <h2 data-augmented-ui="tl-clip bl-clip none">Mail</h2>
<table>
<tr>
<th>From</th>
}).join("\n")}
</table>
<div id="individual-message"></div>
+ </div>
`;
}
</tr>
</table>
`;
- console.log(msg);
- return '';
-}
\ No newline at end of file
+}