diff --git a/src/components/spaces/SpaceCard.tsx b/src/components/spaces/SpaceCard.tsx index a7af3b3c3..bb58ba6e5 100644 --- a/src/components/spaces/SpaceCard.tsx +++ b/src/components/spaces/SpaceCard.tsx @@ -58,7 +58,7 @@ export default function SpaceCard({ spaceId, ...props }: SpaceCardProps) { subtitle={} buttons={ spaceData && [ - , + , isMySpace ? ( }) -export const StakeButton = ({ spaceId }: { spaceId: SpaceId }) => { - return config.creatorIds?.includes(spaceId) ? ( - +export const StakeButton = ({ spaceStruct }: { spaceStruct: SpaceStruct }) => { + return config.creatorIds?.includes(spaceStruct.id) ? ( + Stake ) : null @@ -196,7 +201,7 @@ export const InnerViewSpace = (props: Props) => { Edit ) : ( - withStakeButton && + withStakeButton && ))} {withFollowButton && } diff --git a/src/config/app/polkaverse/index.ts b/src/config/app/polkaverse/index.ts index 83eb26c83..fc71713d7 100644 --- a/src/config/app/polkaverse/index.ts +++ b/src/config/app/polkaverse/index.ts @@ -23,7 +23,23 @@ const index: AppConfig = { claimedSpaceIds: ['1', '2', '3', '4', '5'], recommendedSpaceIds: polkaverseSpaces, suggestedTlds: ['sub', 'polka'], - creatorIds: ['11414', '4809', '4777', '6953', '10132', '6283', '11581', '7366', '11157', '11566'], + creatorIds: [ + '11414', + '4809', + '4777', + '6953', + '10132', + '6283', + '11581', + '7366', + '11157', + '11566', + '10124', + '11581', + '1573', + '1238', + '11844', + ], } export default index