Skip to content

Commit

Permalink
Merge pull request #258 from depromeet/feature/my-page-edit
Browse files Browse the repository at this point in the history
jungjjeong | fix: crop 이미지 화면일 때 appbar 미노출
  • Loading branch information
Jungjjeong authored Feb 13, 2024
2 parents 73db8cd + 8a10ac4 commit d8fe20b
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions src/app/post/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,30 +131,32 @@ export const Post = () => {
return (
<DefaultLayout
appbar={
<Appbar
left={
<Back
className="cursor-pointer"
onClick={() => {
if (image.length || text.length) {
void handleModal();
} else {
navigate("/post/keyword");
}
}}
/>
}
content={
<div
className={clsx(
isOverflow ? "opacity-100" : "opacity-0",
"font-semibold text-primary transition-all",
)}
>
칭찬 게시물 작성
</div>
}
/>
!openCrop && (
<Appbar
left={
<Back
className="cursor-pointer"
onClick={() => {
if (image.length || text.length) {
void handleModal();
} else {
navigate("/post/keyword");
}
}}
/>
}
content={
<div
className={clsx(
isOverflow ? "opacity-100" : "opacity-0",
"font-semibold text-primary transition-all",
)}
>
칭찬 게시물 작성
</div>
}
/>
)
}
>
{openCrop ? (
Expand Down

0 comments on commit d8fe20b

Please sign in to comment.