diff --git a/src/components/modal/components/ProductCreateSuccess.tsx b/src/components/modal/components/ProductCreateSuccess.tsx index 930465efc..df594a99e 100644 --- a/src/components/modal/components/ProductCreateSuccess.tsx +++ b/src/components/modal/components/ProductCreateSuccess.tsx @@ -131,6 +131,7 @@ export default function ProductCreateSuccess({ return getOfferDetailData( offer, + undefined, convertedPrice, false, undefined, diff --git a/src/components/seller/SellerTags.tsx b/src/components/seller/SellerTags.tsx index e3d6f53c0..2b1857500 100644 --- a/src/components/seller/SellerTags.tsx +++ b/src/components/seller/SellerTags.tsx @@ -17,7 +17,7 @@ const TagsList = styled.ul` const TagItem = styled.li<{ $active: boolean; $disabled: boolean }>` border-bottom: ${(props) => props.$active ? `1px solid ${colors.black}` : colors.black}; - color ${(props) => + color: ${(props) => props.$active ? `1px solid ${colors.black}` : colors.darkGrey}; padding: 1.125rem 1.5rem; display: flex; @@ -25,7 +25,7 @@ const TagItem = styled.li<{ $active: boolean; $disabled: boolean }>` font-size: 1rem; font-weight: 600; cursor: ${(props) => (props.$disabled ? "not-allowed" : "pointer")}; - opacity ${(props) => (props.$disabled ? "0.5" : "1")}; + opacity: ${(props) => (props.$disabled ? "0.5" : "1")}; &:not(:last-child) { margin-right: 1.5rem; } diff --git a/src/lib/utils/hooks/chat/getThreadWorker.ts b/src/lib/utils/hooks/chat/getThreadWorker.ts index c28870d19..72ea716b6 100644 --- a/src/lib/utils/hooks/chat/getThreadWorker.ts +++ b/src/lib/utils/hooks/chat/getThreadWorker.ts @@ -39,7 +39,7 @@ export async function getThread({ genesisDate: Date; onMessageReceived: (currentThread: ThreadObject | null) => Promise; checkCustomCondition?: (mergedThread: ThreadObject | null) => boolean; - stopRef: MutableRefObject; + stopRef?: MutableRefObject; }): Promise<{ thread: ThreadObject | null; dateIndex: number; @@ -134,7 +134,7 @@ export async function getThread({ iDateIndex -= concurrency; } while ( window.navigator.onLine && - !stopRef.current && + !stopRef?.current && ((!customConditionMet && (failedTimesArray.length || (!failedTimesArray.length && !isBeginning))) ||