Skip to content

Commit c592c8b

Browse files
committed
feat: remove guarantee on enhance execution
1 parent 51c7998 commit c592c8b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

frontend/src/pages/enhance/6-execute/potential/potential.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,12 @@ export default function Potential({
246246

247247
return (
248248
<Stack width={{ base: "100%", md: 60 }}>
249-
<Guarantee materialType={materialType} />
250-
<Divider my={1} />
249+
{(POTENTIAL_CRITERIA[materialType]?.RARE.bound ?? 0) > 0 && (
250+
<>
251+
<Guarantee materialType={materialType} />
252+
<Divider my={1} />
253+
</>
254+
)}
251255
<Tag as={Flex} px={2} py={1} gap={2}>
252256
<Image src={MATERIAL_INFOS[materialType].icon} />
253257
<Text size="xs">

0 commit comments

Comments
 (0)