Skip to content

Commit

Permalink
fix. product status (#215)
Browse files Browse the repository at this point in the history
* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

* Add.toast UI editor align (#202)

* fix : delete magazine useMemo (banner) (#199)


* Bug fix.magazine banner fix (#198)

* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

---------

Co-authored-by: Junseo <[email protected]>

* fix: delete use client syntax (#201)

* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

---------

Co-authored-by: Junseo <[email protected]>

* fix. override add toastui-editor-contents p, img tag(flex, radius)

---------

Co-authored-by: Junseo <[email protected]>

* Add.toast UI editor align (#204)

* fix : delete magazine useMemo (banner) (#199)


* Bug fix.magazine banner fix (#198)

* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

---------

Co-authored-by: Junseo <[email protected]>

* fix: delete use client syntax (#201)

* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

---------

Co-authored-by: Junseo <[email protected]>

* fix. override add toastui-editor-contents p, img tag(flex, radius)

* fix. override add toastui-editor-contents p, img tag(flex, radius)

---------

Co-authored-by: Junseo <[email protected]>

* Fix.editor css (#206)


* fix. toast editor css bug & add editor toolbarItems

* Fix.product price (#208)

* hotFix. editor css bug, add toolbar items (#207)



* fix. toast editor css bug & add editor toolbarItems

* fix. product price handling

* Fix.toastui css (#210)

* hotFix. editor css bug, add toolbar items (#207)



* fix. toast editor css bug & add editor toolbarItems

* Develop (#209)

* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

* Add.toast UI editor align (#202)

* fix : delete magazine useMemo (banner) (#199)


* Bug fix.magazine banner fix (#198)

* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

---------

Co-authored-by: Junseo <[email protected]>

* fix: delete use client syntax (#201)

* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

---------

Co-authored-by: Junseo <[email protected]>

* fix. override add toastui-editor-contents p, img tag(flex, radius)

---------

Co-authored-by: Junseo <[email protected]>

* Add.toast UI editor align (#204)

* fix : delete magazine useMemo (banner) (#199)


* Bug fix.magazine banner fix (#198)

* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

---------

Co-authored-by: Junseo <[email protected]>

* fix: delete use client syntax (#201)

* fix: 최종 QA 리스트업 수정 (#196)

* feat: 매물 워터마크 추가

* fix: 마이페이지 판매 완료버튼 완료 이후 동작 X

* Bug fix.magazine banner fix (#198)


* fix. delete useMemo magazine banner

---------

Co-authored-by: Junseo <[email protected]>

* Bug fix.delete use client syntax (#200)



* fix. delete use client syntax

---------

Co-authored-by: Junseo <[email protected]>

* fix. override add toastui-editor-contents p, img tag(flex, radius)

* fix. override add toastui-editor-contents p, img tag(flex, radius)

---------

Co-authored-by: Junseo <[email protected]>

* Fix.editor css (#206)


* fix. toast editor css bug & add editor toolbarItems

* Fix.product price (#208)

* hotFix. editor css bug, add toolbar items (#207)



* fix. toast editor css bug & add editor toolbarItems

* fix. product price handling

---------

Co-authored-by: Junseo <[email protected]>

* fix. editor css

---------

Co-authored-by: Junseo <[email protected]>

* fix. change product status (#214)

---------

Co-authored-by: Junseo <[email protected]>
  • Loading branch information
doyupK and blan19 authored Dec 19, 2023
1 parent bf5234f commit 2e256d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const MarketContents = (props: MarketContentsProps) => {
<MarketMine
id={id}
brdSeq={market.data.brdSeq as unknown as string}
price={market.data.price as unknown as number}
/>
) : (
<MarketLike id={id} isLike={market.data.isLike} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ import { useQueryClient } from '@tanstack/react-query';
interface MarketMineProps {
id: string;
brdSeq: string;
price: number;
}

const MarketMine = ({ id, brdSeq }: MarketMineProps) => {
const MarketMine = ({ id, brdSeq, price }: MarketMineProps) => {
const { push } = useRouter();
const searchParams = useSearchParams();
const queryClient = useQueryClient();
Expand Down Expand Up @@ -123,9 +124,13 @@ const MarketMine = ({ id, brdSeq }: MarketMineProps) => {
<Button variant="Line" onClick={handleRemoveModal}>
<Typography color="greyScale-6">삭제</Typography>
</Button>
<Button variant="Line" onClick={handleStatusModal}>
<Typography color="greyScale-6">판매 완료</Typography>
</Button>
{price !== 1 ? (
<Button variant="Line" onClick={handleStatusModal}>
<Typography color="greyScale-6">판매 완료</Typography>
</Button>
) : (
''
)}
</Wrapper>
);
};
Expand Down

1 comment on commit 2e256d8

@vercel
Copy link

@vercel vercel bot commented on 2e256d8 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.