mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +00:00
Address greptile comments
This commit is contained in:
@@ -63,7 +63,7 @@ export const AppConnectionsBrowser = () => {
|
||||
}
|
||||
|
||||
return filtered;
|
||||
}, [connections, searchTerm, selectedCategory]);
|
||||
}, [searchTerm, selectedCategory]);
|
||||
|
||||
return (
|
||||
<div className="max-w-none">
|
||||
@@ -118,7 +118,7 @@ export const AppConnectionsBrowser = () => {
|
||||
<div className="space-y-4">
|
||||
{filteredConnections.map((connection, index) => (
|
||||
<a
|
||||
key={`${connection.slug}-${index}`}
|
||||
key={connection.slug}
|
||||
href={connection.path}
|
||||
className="group block px-4 py-3 border border-gray-200 rounded-xl hover:border-yellow-200 hover:bg-yellow-50/50 hover:shadow-sm transition-all duration-200 bg-white shadow-sm"
|
||||
>
|
||||
@@ -138,7 +138,14 @@ export const AppConnectionsBrowser = () => {
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
) : null}
|
||||
) : (
|
||||
<div className="text-center py-8">
|
||||
<p className="text-gray-500">No app connections found matching your criteria.</p>
|
||||
{searchTerm && (
|
||||
<p className="text-gray-400 text-sm mt-2">Try adjusting your search terms or category filter.</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user