diff --git a/daostar-website/src/App.js b/daostar-website/src/App.js index 4465f7c..cdabcdf 100644 --- a/daostar-website/src/App.js +++ b/daostar-website/src/App.js @@ -7,6 +7,7 @@ import ExplorePage from "./components/ExplorePage/ExplorePage"; import { WagmiConfig, createClient } from "wagmi"; import { ConnectKitProvider, getDefaultClient } from "connectkit"; import { useQuery } from "@apollo/client"; +import registrationIdsToFilter from "./components/FilterRegistrations/Filter_Registrations_By_Id"; import queries from "./components/ExplorePage/queries/registrations"; @@ -97,16 +98,19 @@ function App() { arbitrumGoerliData?.registrationNetwork?.registrations || []; const chapelRegistrations = chapelData?.registrationNetwork?.registrations || []; - const registrationInstances = mainnetRegistrations.concat( + const allRegistrationInstances = mainnetRegistrations.concat( goerliRegistrations, gnosisRegistrations, optimismGoerliRegistrations, arbitrumGoerliRegistrations, chapelRegistrations, ); + + const registrationInstances = allRegistrationInstances.filter((instance) => + !registrationIdsToFilter.includes(instance.id) + ) - console.log({ registrationInstances }); return ( diff --git a/daostar-website/src/components/FilterRegistrations/Filter_Registrations_By_Id.js b/daostar-website/src/components/FilterRegistrations/Filter_Registrations_By_Id.js new file mode 100644 index 0000000..05d7023 --- /dev/null +++ b/daostar-website/src/components/FilterRegistrations/Filter_Registrations_By_Id.js @@ -0,0 +1,12 @@ +const registrationIdsToFilter = [ + + '0x170b1eb094571c154ff822145b8cdb3afb852b4c', // Testnet bnb bruno + '0x4e656b8859548075cd4d922809129bfda9920b8e', // Testnet arb goerli + '0xfe0c8cfa51eed09259eb4926df24ba26dda6230d', // Lyra demo without issuer uri + '0xdad5df58927e1743a6f88ec280d6b3fb264b05d5', // Kiwi dao demo without issuer uri + '0xa5aa339314402edb5db68c7e3d3a526cf0245bf9', // Kiwi dao + '0xdeddc6cdd12d9a514b7af9d51df9a3e46be2ddef', // Test dao + +]; + +export default registrationIdsToFilter; \ No newline at end of file