Skip to content

Commit

Permalink
fix condition (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
vardanbansal-harness authored Dec 10, 2024
1 parent 5e12995 commit 33efa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/gitness/src/pages-v2/landing-page-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const LandingPage = () => {
const { spaces, setSpaces } = useAppContext()

useEffect(() => {
if (spaces.length > 0) {
if (spaces.length === 0) {
membershipSpaces({
queryParams: { page: 1, limit: 10, sort: 'identifier', order: 'asc' }
})
Expand Down

0 comments on commit 33efa2c

Please sign in to comment.