Skip to content

Commit

Permalink
fix: 0 being displayed on the projectItem
Browse files Browse the repository at this point in the history
  • Loading branch information
kittybest committed Jul 17, 2024
1 parent 95e74e7 commit 6add4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/projects/components/ProjectItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const ProjectItem = ({
<ImpactCategories tags={metadata.data?.impactCategory} />
</Skeleton>

{!isLoading && state && action && appState === EAppState.VOTING && (
{!isLoading && state !== undefined && action && appState === EAppState.VOTING && (
<div className="flex justify-end pt-6">
<Skeleton>
{state === EProjectState.DEFAULT && (
Expand Down

0 comments on commit 6add4d8

Please sign in to comment.