Skip to content

Commit

Permalink
Update, #1034
Browse files Browse the repository at this point in the history
  • Loading branch information
hyifeng committed Sep 3, 2024
1 parent 7f69be2 commit 18a2682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions next/components/listInfo/details.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const DetailsValue = styled(FlexBetween)`
export default function Details({ space }) {
const strategyCount = space.weightStrategy?.length || 0;
const assets = getSpaceAssets(space);
const isSociety = space.accessibility === "society";

return (
<Wrapper>
Expand All @@ -92,7 +91,7 @@ export default function Details({ space }) {
<Divider />

<DetailSections>
{!isSociety && (
{space.proposeThreshold && (
<DetailsItem>
<DetailsLabel>Config</DetailsLabel>
<DetailsValue>
Expand Down
3 changes: 1 addition & 2 deletions next/components/listInfo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export default function ListInfo({ space }) {

const strategyCount = space.weightStrategy?.length || 0;
const networkCount = space.networks?.length || 0;
const isSociety = space.accessibility === "society";

const handleShowModal = () => {
setModalOpen(true);
Expand Down Expand Up @@ -124,7 +123,7 @@ export default function ListInfo({ space }) {
</div>
</AboutItem>
<AboutDivider />
{!isSociety && (
{space.proposeThreshold && (
<>
<AboutItem>
<AboutIcon src="/imgs/icons/threshold.svg" />
Expand Down

0 comments on commit 18a2682

Please sign in to comment.