Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

๐Ÿ”€ :: (#127) ์ปค๋ฎค๋‹ˆํ‹ฐ ๋กœ์ง ์ˆ˜์ • #128

Conversation

Tmdhoon2
Copy link
Collaborator

๊ฐœ์š”

์ปค๋ฎค๋‹ˆํ‹ฐ ๋ฆฌ์ŠคํŠธ ์ƒํƒœ ์—…๋ฐ์ดํŠธ ๋กœ์ง์„ ์žฌ๊ตฌ์„ฑ ํ–ˆ์Šต๋‹ˆ๋‹ค.

์ž‘์—…์‚ฌํ•ญ

  • setState ๋ฆฌํŒฉํ† ๋ง

์ถ”๊ฐ€ ๋กœ ํ•  ๋ง

@Tmdhoon2 Tmdhoon2 added the ๋ฆฌํŒฉํ† ๋ง ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง label Nov 28, 2023
@Tmdhoon2 Tmdhoon2 requested a review from chlgkdms November 28, 2023 05:54
@Tmdhoon2 Tmdhoon2 self-assigned this Nov 28, 2023
@Tmdhoon2 Tmdhoon2 linked an issue Nov 28, 2023 that may be closed by this pull request
Comment on lines +96 to 103
if (_comments.size < it.comments.size) {
if (_comments.contains(it.comments.firstOrNull())) {
_comments.add(it.comments.last())
} else {
_comments.addAll(it.comments)
}
setState(copy(comments = _comments.reversed().toMutableStateList()))
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑด ๋ฌด์Šจ ๋กœ์ง์ธ๊ฐ€์š”?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋งค๋ฒˆ comment ์ „์ฒด๋ฅผ list์— ์—…๋ฐ์ดํŠธ ํ•˜๋Š”๊ฑด ๋น„ํšจ์œจ์ ์ด๋ผ ์„œ๋ฒ„์—์„œ ๋ฐ›์€ ๋Œ“๊ธ€ ๋ฆฌ์ŠคํŠธ ์‚ฌ์ด์ฆˆ๋ž‘ ํฌํ•จ ์—ฌ๋ถ€ ํ™•์ธํ•ด์„œ ์‹ค์ œ ์œ ์ €๊ฐ€ ์ž‘์„ฑํ•œ ๊ฐ’ ํ•˜๋‚˜๋งŒ ์ถ”๊ฐ€ํ•ด์ฃผ๋Š” ๋กœ์ง์ž…๋‹ˆ๋‹ค.

@Tmdhoon2 Tmdhoon2 requested a review from chlgkdms November 28, 2023 07:56
@Tmdhoon2 Tmdhoon2 merged commit 4ab102e into develop Nov 28, 2023
@Tmdhoon2 Tmdhoon2 deleted the feature/127-์ปค๋ฎค๋‹ˆํ‹ฐ-๋กœ์ง-์ˆ˜์ • branch November 28, 2023 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
๋ฆฌํŒฉํ† ๋ง ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง
Projects
None yet
Development

Successfully merging this pull request may close these issues.

์ปค๋ฎค๋‹ˆํ‹ฐ ๋กœ์ง ์ˆ˜์ •
2 participants