Skip to content

Commit

Permalink
Add: TODO in search page
Browse files Browse the repository at this point in the history
  • Loading branch information
aube-dev committed Jul 29, 2021
1 parent a26f594 commit 4b9d5e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bouquet_web/pages/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function Horizontal({ gap, wrap, children }: HorizontalProps) {
const inside = useRef(null);

useEffect(() => {
// TODO: inside의 width가 변할 때도 setWidth가 작동해야 함
const setWidth = () => {
setWrapWidth(wrap.current.offsetWidth);
setInsideWidth(inside.current.offsetWidth);
Expand Down

0 comments on commit 4b9d5e9

Please sign in to comment.