Skip to content

Commit

Permalink
remove empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
ashik-75 committed Sep 24, 2023
1 parent c5341f4 commit b3b7886
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/src/pages/Information/Npmpackages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ const Npmpackages = () => {
return <Text text={API_NO_DATA} />;
}

return (
<PackageList packages={data?.packages || []} isLoading={isLoading} />
);
return <PackageList packages={data?.packages} isLoading={isLoading} />;
};

export default Npmpackages;

0 comments on commit b3b7886

Please sign in to comment.