From 3ffd3ca3a1cc6a2544a669d9b23f74ae5ac31f7f Mon Sep 17 00:00:00 2001 From: Don <100505855+DonFungible@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:28:44 -0800 Subject: [PATCH] sort ipo display --- components/views/IPOrg/IPOrgDataViewerWrapper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/views/IPOrg/IPOrgDataViewerWrapper.tsx b/components/views/IPOrg/IPOrgDataViewerWrapper.tsx index 2b044ea..3159a34 100644 --- a/components/views/IPOrg/IPOrgDataViewerWrapper.tsx +++ b/components/views/IPOrg/IPOrgDataViewerWrapper.tsx @@ -1,7 +1,7 @@ import storyClient from '@/lib/SP'; import React from 'react'; import IPOrgDataViewerComponent from '@/components/views/IPOrg/IPOrgDataViewerComponent'; -import { IPOrg, ListIPOrgResponse } from '@story-protocol/core-sdk'; +import { ListIPOrgResponse } from '@story-protocol/core-sdk'; export default async function IPOrgDataViewerWrapper({ tableOnly, @@ -15,7 +15,7 @@ export default async function IPOrgDataViewerWrapper({ const data: ListIPOrgResponse = await storyClient.ipOrg.list({}); const ipOrgData = data?.ipOrgs; // crude sort, TODO: make this better - ipOrgData.sort((a: IPOrg, b: IPOrg) => parseInt(b.id) - parseInt(a.id)); + // ipOrgData.sort((a: IPOrg, b: IPOrg) => parseInt(b.id) - parseInt(a.id)); return ; }