Skip to content

Commit

Permalink
feat: fix prop and cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlr committed Aug 21, 2024
1 parent eeb69be commit c0272f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/components/ItemDetail/ItemDetailLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const ItemDetailLoading = ({ item }) => {

return () => {
if (interval) {
console.log("clearing")
clearInterval(interval)
}
}
Expand All @@ -79,7 +78,7 @@ const ItemDetailLoading = ({ item }) => {
<Text mt={1}>{currentIllustration.text}</Text>

<Box maxWidth="400px" mx="auto" my={4}>
<Progress color={item.ideaType === LBA_ITEM_TYPE_OLD.FORMATION ? "cyan" : "orange"} isIndeterminate size="sm" borderRadius="20px" />
<Progress colorScheme={item.ideaType === LBA_ITEM_TYPE_OLD.FORMATION ? "cyan" : "orange"} isIndeterminate size="sm" borderRadius="20px" />
</Box>

<Box padding="6" boxShadow="lg" bg="white">
Expand Down

0 comments on commit c0272f7

Please sign in to comment.