clears conversations and no new line on enter

This commit is contained in:
Danny Avila 2023-02-08 08:27:23 -05:00
parent 51d93da3f8
commit 58498ed951
3 changed files with 19 additions and 7 deletions

View file

@ -24,10 +24,12 @@ export default function ClearConvos() {
};
return (
<NavLink
svg={TrashIcon}
text="Clear conversations"
<a
className="flex cursor-pointer items-center gap-3 rounded-md py-3 px-3 text-sm text-white transition-colors duration-200 hover:bg-gray-500/10"
onClick={clickHandler}
/>
>
<TrashIcon />
Clear conversations
</a>
);
}