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 && }