Skip to content

Commit ebbdc6e

Browse files
committed
style: 린트 에러 해결
1 parent 6860df7 commit ebbdc6e

6 files changed

Lines changed: 19 additions & 16 deletions

File tree

src/pages/HomePage/style.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export const Title = css({
88

99
export const LoginBtn = css({ display: 'flex', flexDirection: 'column', gap: '1rem' });
1010

11-
export const Container = css({ color: 'systemGray', })
11+
export const Container = css({ color: 'systemGray' });

src/pages/NotFoundPage/index.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ import AppScreenWithSafeArea from '@/common/components/AppScreenWithSafeArea';
88
const NotFoundPage: ActivityComponentType = () => {
99
const { pop } = useFlow();
1010

11-
return <AppScreenWithSafeArea>
12-
<button className={c.Button} onClick={pop}>
13-
뒤로가기
14-
</button>
15-
<h1>페이지를 찾을 수 없어요 . . .</h1>
16-
</AppScreenWithSafeArea>;
11+
return (
12+
<AppScreenWithSafeArea>
13+
<button className={c.Button} onClick={pop}>
14+
뒤로가기
15+
</button>
16+
<h1>페이지를 찾을 수 없어요 . . .</h1>
17+
</AppScreenWithSafeArea>
18+
);
1719
};
1820
export default NotFoundPage;

src/pages/PostPage/index.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,24 @@ import { useFlow } from '@/libs/routes/stack';
33
import PostCard from './postCard';
44

55
// CSS 사용하는 컴포넌트에서는 이런 식으로 불러오기
6-
import * as s from './style.css';
6+
// import * as s from './style.css';
7+
78
import * as c from '@/utils/commonStyles.css';
89

910
import AppScreenWithSafeArea from '@/common/components/AppScreenWithSafeArea';
1011

1112
const PostPage: ActivityComponentType = () => {
12-
const { pop, push } = useFlow();
13+
const { pop } = useFlow();
1314

1415
return (
1516
<AppScreenWithSafeArea>
1617
<button className={c.Button} onClick={pop}>
1718
뒤로가기
1819
</button>
1920
<div>테스트 테스트 포스트 페이지</div>
20-
<PostCard></PostCard>
21-
<PostCard></PostCard>
22-
<PostCard></PostCard>
21+
<PostCard />
22+
<PostCard />
23+
<PostCard />
2324
</AppScreenWithSafeArea>
2425
);
2526
};

src/pages/PostPage/postCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const PostItem = () => {
66

77
return (
88
<div className={s.Container} onClick={() => push('NotFoundPage', {})}>
9-
게시물...
9+
게시물...
1010
</div>
1111
);
1212
};

src/pages/PostPage/style.css.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ import { css } from '@styled-system/css';
1111
export const Container = css({
1212
padding: '2rem',
1313
backgroundColor: 'black',
14-
color: 'white'
15-
})
14+
color: 'white',
15+
});

src/utils/commonStyles.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export const Button = css({
44
padding: '1rem',
55
backgroundColor: 'whiteSmoke',
66
borderRadius: '10px',
7-
});
7+
});

0 commit comments

Comments
 (0)