Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanos committed Dec 13, 2024
1 parent ecf9bdd commit d6cc39a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domain/journey/space/pages/SpaceSubspacesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SpaceSubspacesPage = () => {
const { t } = useTranslation();
const navigate = useNavigate();
const { journeyPath } = useRouteResolver();
const { spaceId, spaceNameId, permissions, visibility, collaborationId } = useSpace();
const { spaceId, permissions, visibility, collaborationId } = useSpace();

const [isCreateDialogOpen, setCreateDialogOpen] = useState(false);

Expand All @@ -49,7 +49,7 @@ const SpaceSubspacesPage = () => {

navigate(result.profile.url);
},
[navigate, createSubspace, spaceNameId]
[navigate, createSubspace, spaceId]
);

const callouts = useCallouts({
Expand Down

0 comments on commit d6cc39a

Please sign in to comment.