Skip to content

Commit

Permalink
Merge pull request #114 from TRIP-Side-Project/dev
Browse files Browse the repository at this point in the history
Fix: 배포 에러 수정
  • Loading branch information
Emma-Hyejin authored Dec 26, 2023
2 parents b437c3a + e933021 commit 74fe600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/lexical/CustomNode/ImageNode/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export class ImageNode extends DecoratorNode<JSX.Element> {
showCaption={this.__showCaption}
caption={this.__caption}
captionsEnabled={this.__captionsEnabled}
// resizable={true}
resizable={undefined}
/>
</Suspense>
);
Expand Down
5 changes: 3 additions & 2 deletions src/pages/ProductList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import ProductListItems from "@/components/productListItems/ProductListItems";
const ProductList = () => {
// 동적 화면 상태
const [innerWidth, setInnerWidth] = useState(window.innerWidth);
const [, setSearch] = useState("");
useEffect(() => {
const resizeListener = () => {
setInnerWidth(window.innerWidth);
Expand Down Expand Up @@ -35,7 +36,7 @@ const ProductList = () => {
</h1>
{innerWidth > 768 && (
<>
<Search />
<Search setSearch={setSearch} />
<div className="flex gap-2 px-3 pb-1 text-base border-b border-DARK_GRAY_COLOR">
<span
className={isSort ? viewSortClass : nonViewSortClass}
Expand All @@ -54,7 +55,7 @@ const ProductList = () => {
)}
{innerWidth <= 768 && (
<div className="flex items-center justify-between">
<Search />
<Search setSearch={setSearch} />
<div className="flex pb-1 text-sm border-b border-DARK_GRAY_COLOR">
<span
className={isSort ? viewSortClass : nonViewSortClass}
Expand Down

0 comments on commit 74fe600

Please sign in to comment.