Skip to content

Commit

Permalink
fix: wrong styles and wrong params
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Nov 21, 2023
1 parent 0753015 commit 0215683
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/modal/components/ProductCreateSuccess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export default function ProductCreateSuccess({

return getOfferDetailData(
offer,
undefined,
convertedPrice,
false,
undefined,
Expand Down
4 changes: 2 additions & 2 deletions src/components/seller/SellerTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ 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;
list-style-type: none;
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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/utils/hooks/chat/getThreadWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function getThread({
genesisDate: Date;
onMessageReceived: (currentThread: ThreadObject | null) => Promise<void>;
checkCustomCondition?: (mergedThread: ThreadObject | null) => boolean;
stopRef: MutableRefObject<boolean>;
stopRef?: MutableRefObject<boolean>;
}): Promise<{
thread: ThreadObject | null;
dateIndex: number;
Expand Down Expand Up @@ -134,7 +134,7 @@ export async function getThread({
iDateIndex -= concurrency;
} while (
window.navigator.onLine &&
!stopRef.current &&
!stopRef?.current &&
((!customConditionMet &&
(failedTimesArray.length ||
(!failedTimesArray.length && !isBeginning))) ||
Expand Down

0 comments on commit 0215683

Please sign in to comment.