fix(ui): fix console error related to css

This commit is contained in:
psychedelicious 2023-07-21 20:52:33 +10:00 committed by Kent Keirsey
parent 2c4128d44e
commit 52ae15c167

View File

@ -98,12 +98,16 @@ const ParamEmbeddingPopover = (props: Props) => {
sx={{ p: 0, w: `calc(${PARAMETERS_PANEL_WIDTH} - 2rem )` }}
>
{data.length === 0 ? (
<Flex sx={{ justifyContent: 'center', p: 2 }}>
<Text
sx={{ fontSize: 'sm', color: 'base.500', _dark: 'base.700' }}
<Flex
sx={{
justifyContent: 'center',
p: 2,
fontSize: 'sm',
color: 'base.500',
_dark: { color: 'base.700' },
}}
>
No Embeddings Loaded
</Text>
<Text>No Embeddings Loaded</Text>
</Flex>
) : (
<IAIMantineSearchableSelect