Skip to content

Commit 66f86fe

Browse files
committed
Refactor : 불필요한 코드 삭제
1. 상태 호이스팅으로 인해 불필요해진 로직
1 parent 2d0e753 commit 66f86fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/java/nextstep/payments/ui/card/list/CardListScreen.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ fun CardListScreenMany(
146146
@Preview
147147
@Composable
148148
private fun CardListScreenEmptyPreview() {
149-
PaymentCardsRepository.removeAllCard()
150149
PaymentsTheme {
151150
CardListScreen(
152151
registeredCreditCards = RegisteredCreditCards(mutableListOf()),

0 commit comments

Comments
 (0)