2
0

💄 (js) Make sure lite badge can't be hidden

This commit is contained in:
Baptiste Arnaud
2023-03-13 08:40:48 +01:00
parent 5d8c990c05
commit 186328132f
6 changed files with 78 additions and 6 deletions

View File

@ -11,6 +11,7 @@ import {
setResultInSession,
} from '@/utils/sessionStorage'
import { setCssVariablesValue } from '@/utils/setCssVariablesValue'
import immutableCss from '../assets/immutable.css'
export type BotProps = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@ -100,6 +101,7 @@ export const Bot = (props: BotProps & { class?: string }) => {
return (
<>
<style>{customCss()}</style>
<style>{immutableCss}</style>
<Show when={error()} keyed>
{(error) => <ErrorMessage error={error} />}
</Show>