Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

Feat: small fixes

Nevo Davidf8dd1ae912dd
diff --git a/apps/frontend/src/components/new-launch/mention.component.tsx b/apps/frontend/src/components/new-launch/mention.component.tsx
index 1926d8992..8de4fb553 100644
--- a/apps/frontend/src/components/new-launch/mention.component.tsx
+++ b/apps/frontend/src/components/new-launch/mention.component.tsx
@@ -96,7 +96,7 @@ const MentionList: FC = (props: any) => {
className={`flex gap-[10px] w-full p-2 text-left rounded hover:bg-gray-100 ${
index === selectedIndex ? 'bg-blue-100' : ''
}`}
- key={index}
+ key={item.id || index}
onClick={() => selectItem(index)}
>
<img
@@ -157,10 +157,8 @@ export const suggestion = (
try {
component.updateProps({ loading: true, stop: false });
const result = await debouncedLoadList(query);
- console.log(result);
return result;
} catch (error) {
- console.error('Error in suggestion items:', error);
return [];
}
},