Skip to content

Commit

Permalink
using forEach instead of map as its return value is not being used
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <[email protected]>
  • Loading branch information
yaacov committed Sep 30, 2024
1 parent 8ff66b8 commit eff4764
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const createProviderCardItems = (
): Record<string, SelectableGalleryItem> => {
const providerCardItems = {};

(providers || []).map((provider) => {
(providers || []).forEach((provider) => {
const typeObj = providerTypes[provider.spec.type];

providerCardItems[provider.metadata.uid] = {
Expand Down

0 comments on commit eff4764

Please sign in to comment.