fix: soo many lint errors
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user