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 )` }} sx={{ p: 0, w: `calc(${PARAMETERS_PANEL_WIDTH} - 2rem )` }}
> >
{data.length === 0 ? ( {data.length === 0 ? (
<Flex sx={{ justifyContent: 'center', p: 2 }}> <Flex
<Text sx={{
sx={{ fontSize: 'sm', color: 'base.500', _dark: 'base.700' }} justifyContent: 'center',
> p: 2,
No Embeddings Loaded fontSize: 'sm',
</Text> color: 'base.500',
_dark: { color: 'base.700' },
}}
>
<Text>No Embeddings Loaded</Text>
</Flex> </Flex>
) : ( ) : (
<IAIMantineSearchableSelect <IAIMantineSearchableSelect