Skip to content

Commit

Permalink
Merge 119b562 into c04dcbb
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox authored Mar 5, 2024
2 parents c04dcbb + 119b562 commit 8e223f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InspectorPage/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export default function TopBar({ currentProject, metrics, limits, areEntitiesOut
)

const isPublishDisabled = useMemo(() => {
return isUploading || areEntitiesOutOfBoundaries || someMetricExceedsLimit
}, [metrics, limits, areEntitiesOutOfBoundaries, someMetricExceedsLimit, isUploading])
return isUploading || areEntitiesOutOfBoundaries
}, [metrics, limits, areEntitiesOutOfBoundaries, isUploading])

const isPopupDisabled = useMemo(() => isUploading || !isPublishDisabled, [isUploading, isPublishDisabled])

Expand Down

0 comments on commit 8e223f9

Please sign in to comment.