Skip to content

Commit 89c61bd

Browse files
committed
Fix typo
1 parent 9927e6c commit 89c61bd

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
- [23. Immer 를 사용한 더 쉬운 불변성 관리](./basic/23-immer.md)
2828
- [24. 클래스형 컴포넌트](./basic/24-class-component.md)
2929
- [25. LifeCycle Method](./basic/25-lifecycle.md)
30-
- [26. componentDidCatch 로 에러 잡아내기 / Sentry 연동](./basic/componentDidCatch-and-sentry.md)
31-
- [27. 리액트 개발 할 때 사용하면 편리한 도구들 - Prettier, ESLint, Snippet](./basic/useful-tools.md)
30+
- [26. componentDidCatch 로 에러 잡아내기 / Sentry 연동](./basic/26-componentDidCatch-and-sentry.md)
31+
- [27. 리액트 개발 할 때 사용하면 편리한 도구들 - Prettier, ESLint, Snippet](./basic/27-useful-tools.md)
3232
- [리액트 입문 마무리](./basic/CONCLUSION.md)
3333
- [2장. 리액트 컴포넌트 스타일링하기](./styling/README.md)
3434
- [1. Sass](./styling/01-sass.md)
File renamed without changes.

mashup-todolist/03-implement.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ const Remove = styled.div`
176176
color: #dee2e6;
177177
font-size: 24px;
178178
cursor: pointer;
179+
opacity: 0;
179180
&:hover {
180181
color: #ff6b6b;
181182
}
182-
display: none;
183183
`;
184184

185185
const TodoItemBlock = styled.div`
@@ -189,7 +189,7 @@ const TodoItemBlock = styled.div`
189189
padding-bottom: 12px;
190190
&:hover {
191191
${Remove} {
192-
display: initial;
192+
opacity: 1;
193193
}
194194
}
195195
`;
@@ -281,7 +281,6 @@ const CircleButton = styled.button`
281281
cursor: pointer;
282282
width: 80px;
283283
height: 80px;
284-
display: block;
285284
align-items: center;
286285
justify-content: center;
287286
font-size: 60px;
@@ -293,9 +292,7 @@ const CircleButton = styled.button`
293292
border-radius: 50%;
294293
border: none;
295294
outline: none;
296-
display: flex;
297-
align-items: center;
298-
justify-content: center;
295+
299296
300297
transition: 0.125s all ease-in;
301298
${props =>

styling/01-sass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ body {
3030
}
3131
```
3232

33-
더 많은 차이점들은 여기 서 비교해볼 수 있습니다. 보통 scss 문법이 더 많이 사용되므로, 우리는 .scss 확장자로 스타일을 작성하겠습니다.
33+
더 많은 차이점들은 [여기](https://sass-lang.com/guide) 서 비교해볼 수 있습니다. 보통 scss 문법이 더 많이 사용되므로, 우리는 .scss 확장자로 스타일을 작성하겠습니다.
3434

3535

3636
### 시작하기

styling/02-css-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function CheckBox({ children, checked, ...rest }) {
7474
return (
7575
<div>
7676
<label>
77-
<input type="checkbox" />
77+
<input type="checkbox" checked={checked} {...rest} />
7878
<div>{checked ? '체크됨' : '체크 안됨'}</div>
7979
</label>
8080
<span>{children}</span>

styling/03-styled-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ Button.defaultProps = {
592592
export default Button;
593593
```
594594

595-
`props.theme.palett.blue` 이런식으로 값을 조회하는 대신에 비구조화 할당 문법을 사용하여 가독성을 높여주었습니다.
595+
`props.theme.palette.blue` 이런식으로 값을 조회하는 대신에 비구조화 할당 문법을 사용하여 가독성을 높여주었습니다.
596596

597597
참고로 위 로직은 다음과 같이 색상에 관련된 코드를 분리하여 사용 할 수도 있습니다.
598598

0 commit comments

Comments
 (0)