From 6add4d8385ff0b6d259379cecbaed0ab61827c38 Mon Sep 17 00:00:00 2001 From: yu-zhen Date: Thu, 18 Jul 2024 02:55:55 +0900 Subject: [PATCH] fix: 0 being displayed on the projectItem --- src/features/projects/components/ProjectItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/projects/components/ProjectItem.tsx b/src/features/projects/components/ProjectItem.tsx index 6efe016f..a896d9a7 100644 --- a/src/features/projects/components/ProjectItem.tsx +++ b/src/features/projects/components/ProjectItem.tsx @@ -58,7 +58,7 @@ export const ProjectItem = ({ - {!isLoading && state && action && appState === EAppState.VOTING && ( + {!isLoading && state !== undefined && action && appState === EAppState.VOTING && (
{state === EProjectState.DEFAULT && (