Skip to content

Commit 36f9933

Browse files
committed
adding tags
1 parent f77e029 commit 36f9933

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/frontend/src/components/launches/tags.component.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const TagsComponent: FC<{
179179
className="flex flex-row items-center gap-2 p-2 cursor-pointer hover:bg-customColor1 group"
180180
{...option}
181181
>
182-
{findTag && (
182+
{findTag ? (
183183
<>
184184
<input
185185
type="checkbox"
@@ -197,6 +197,10 @@ export const TagsComponent: FC<{
197197
}}
198198
/>
199199
</>
200+
) : (
201+
<div className="size-3 flex justify-center items-center">
202+
+
203+
</div>
200204
)}
201205
{option.option.label}
202206
<div className="flex items-center flex-grow flex-row-reverse">
@@ -237,7 +241,7 @@ export const TagsComponent: FC<{
237241
}}
238242
>
239243
<div className="text-white mix-blend-difference">
240-
{findTag.name}
244+
{findTag?.name}
241245
</div>
242246
</div>
243247
);

0 commit comments

Comments
 (0)