Skip to content

Commit

Permalink
chore: less code
Browse files Browse the repository at this point in the history
54 characters removed, for a total of a 50 line reduction of code!
  • Loading branch information
lishaduck committed Apr 8, 2024
1 parent dc5bc0a commit 4eae256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
2 changes: 1 addition & 1 deletion src/islands/Chatbot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function ChatbotBox(props: JSX.HTMLAttributes<HTMLDivElement>): JSX.Element {
key={msg.message}
class={`${getReplySide(msg.role)} ${replyStyles}`}
// biome-ignore lint/security/noDangerouslySetInnerHtml: It's back!
dangerouslySetInnerHTML={{ __html: render(msg.message, {}) }}
dangerouslySetInnerHTML={{ __html: render(msg.message) }}
/>
))}
</div>
Expand Down
Loading

0 comments on commit 4eae256

Please sign in to comment.