Skip to content

Commit

Permalink
fix: 북마크페이지 높이 수정, 북마크 get 리디렉션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Songhyejeong committed Nov 24, 2024
1 parent 79c35fa commit 4973ddd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/bookmark/Bookmarks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default Bookmarks;

const BookmarkLayout = styled.div`
width: 100%;
height: 100vh;
height: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
Expand Down
3 changes: 2 additions & 1 deletion src/components/common/store/StoreList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import SearchBar from '../searchBar/SearchBar';
import { useStoreList, useIsFetch, useFilterParams, useTagList, useSearchInput } from '../../../store';
import { useInfiniteQuery } from 'react-query';
import { useInView } from 'react-intersection-observer';
import Loading from '../loading/Loading';

const StoreList = () => {
const location = useLocation();
Expand Down Expand Up @@ -141,7 +142,7 @@ const StoreList = () => {
setOrderByRating(null);
};

if (isLoading) return <div>Loading...</div>;
if (isLoading) return <Loading />;
return (
<StoreListLayout>
<FilteringContentsContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const MainPage = () => {
hasMoreData = response.data.last !== true;
page++;
} else {
navigate('/login');
navigate('/*');
}
}
setBookmarkStore(allData);
Expand Down

0 comments on commit 4973ddd

Please sign in to comment.