Commit 1391915e authored by Max Alekseenko's avatar Max Alekseenko

fix sorting between tabs

parent ca10f8ab
......@@ -32,7 +32,7 @@ const MarketplaceListWithScores = ({
showContractList,
}: Props) => {
const displayedApps = React.useMemo(() => apps.sort((a, b) => {
const displayedApps = React.useMemo(() => [ ...apps ].sort((a, b) => {
if (!a.securityReport) {
return 1;
} else if (!b.securityReport) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment