Fix conditional class
This commit is contained in:
parent
d6c463674d
commit
2dc0b0b3ea
@ -131,9 +131,7 @@ const ChatScreen = () => {
|
|||||||
<div
|
<div
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
'flex items-center space-x-3',
|
'flex items-center space-x-3',
|
||||||
downloadedModels.filter(
|
isModelAvailable && '-mt-1'
|
||||||
(x) => x.name === currentConvo?.name
|
|
||||||
).length === 0 && '-mt-1'
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{isModelAvailable && (
|
{isModelAvailable && (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user