Skip to content

Commit

Permalink
Style: 게시판 레이아웃을 왼쪽 위 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchicken committed Oct 13, 2023
1 parent fccd2e9 commit c887e24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/community/BoardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import FriendWrapper from '../friends/friend/FriendWrapper';

const BoardList = () => {
const [characterInfoList, setCharacterInfoList] = useState<CharacterInfo[]>([]);
console.log(characterInfoList);

useEffect(() => {
findAllBoards()
Expand Down
7 changes: 6 additions & 1 deletion src/pages/community/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Community = () => (
<SearchBar />
</div>
</header>
<main>
<main css={mainCSS}>
<BoardList />
</main>
<BottomNavBar pageName="Community" />
Expand Down Expand Up @@ -44,3 +44,8 @@ const titleSectionCSS = css`
padding-right: 0.6rem;
padding-top: 0.6rem;
`;

const mainCSS = css`
width: 100%;
height: 100%;
`;

0 comments on commit c887e24

Please sign in to comment.