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

fix sorting between tabs

parent ca10f8ab
...@@ -32,7 +32,7 @@ const MarketplaceListWithScores = ({ ...@@ -32,7 +32,7 @@ const MarketplaceListWithScores = ({
showContractList, showContractList,
}: Props) => { }: Props) => {
const displayedApps = React.useMemo(() => apps.sort((a, b) => { const displayedApps = React.useMemo(() => [ ...apps ].sort((a, b) => {
if (!a.securityReport) { if (!a.securityReport) {
return 1; return 1;
} else if (!b.securityReport) { } 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