fix: soo many lint errors

This commit is contained in:
Max Richter
2025-11-03 00:03:27 +01:00
parent c13420c3ab
commit 696082250d
41 changed files with 373 additions and 500 deletions

View File

@@ -16,7 +16,6 @@ export const handler: Handlers = {
if (!("session" in ctx.state)) {
throw new AccessDeniedError();
}
console.log({ logs });
return ctx.render({
logs: logs.map((l) => {
return {
@@ -30,7 +29,7 @@ export const handler: Handlers = {
function LogLine(
{ log }: {
log: Log;
log: Log & { html?: string };
},
) {
return (
@@ -53,7 +52,8 @@ function LogLine(
</div>
<div
class="text-white"
dangerouslySetInnerHTML={{ __html: log.html }}
// deno-lint-ignore react-no-danger
dangerouslySetInnerHTML={{ __html: log.html ?? "" }}
/>
</div>
);