Skip to content

Commit

Permalink
[fix] #157 ContentCardFeature 스레드 안정성 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Dec 2, 2024
1 parent b761afb commit afd78a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private extension CategoryDetailView {
ScrollView(showsIndicators: false) {
LazyVStack(spacing: 0) {
ForEach(
store.scope(state: \.contents, action: \.contents)
Array(store.scope(state: \.contents, action: \.contents))
) { store in
let isFirst = store.state.id == self.store.contents.first?.id
let isLast = store.state.id == self.store.contents.last?.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private extension ContentListView {
ScrollView {
LazyVStack(spacing: 0) {
ForEach(
store.scope(state: \.contents, action: \.contents)
Array(store.scope(state: \.contents, action: \.contents))
) { store in
let isFirst = store.state.id == self.store.contents.first?.id
let isLast = store.state.id == self.store.contents.last?.id
Expand Down
2 changes: 1 addition & 1 deletion Projects/Feature/FeaturePokit/Sources/PokitRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private extension PokitRootView {
ScrollView {
LazyVStack(spacing: 0) {
ForEach(
store.scope(state: \.contents, action: \.contents)
Array(store.scope(state: \.contents, action: \.contents))
) { store in
let isFirst = store.state.id == self.store.contents.first?.id
let isLast = store.state.id == self.store.contents.last?.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ private extension PokitSearchView {
ScrollView {
LazyVStack(spacing: 0) {
ForEach(
store.scope(state: \.contents, action: \.contents)
Array(store.scope(state: \.contents, action: \.contents))
) { store in
let isFirst = store.state.id == self.store.contents.first?.id
let isLast = store.state.id == self.store.contents.last?.id
Expand Down

0 comments on commit afd78a5

Please sign in to comment.