[accelerator] fix preview UX on mobile when there is an error/warning

This commit is contained in:
nymkappa
2023-11-23 17:00:57 +09:00
parent 2d5964b81e
commit c11551de7b
4 changed files with 11 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ export function isMempoolError(error: string) {
})
export class MempoolErrorComponent implements OnInit {
@Input() error: string;
@Input() alertClass = 'alert-danger';
errorContent: SafeHtml;
constructor(private sanitizer: DomSanitizer) { }