Downgrade Biome to 2.3.5 to fix false positive noUnusedPrivateClassMembers warnings
This commit is contained in:
@@ -4,8 +4,6 @@ import { Container, Markdown, Spacer } from "@mariozechner/pi-tui";
|
||||
* Component that renders a user message
|
||||
*/
|
||||
export class UserMessageComponent extends Container {
|
||||
private markdown: Markdown;
|
||||
|
||||
constructor(text: string, isFirst: boolean) {
|
||||
super();
|
||||
|
||||
@@ -13,9 +11,6 @@ export class UserMessageComponent extends Container {
|
||||
if (!isFirst) {
|
||||
this.addChild(new Spacer(1));
|
||||
}
|
||||
|
||||
// User messages with dark gray background
|
||||
this.markdown = new Markdown(text, 1, 1, { bgColor: "#343541" });
|
||||
this.addChild(this.markdown);
|
||||
this.addChild(new Markdown(text, 1, 1, { bgColor: "#343541" }));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user