Skip to content

Commit

Permalink
parameter tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmart00 committed Jun 29, 2024
1 parent 6386456 commit 902383f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app-ios/Sources/StaffFeature/StaffReducer.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import ComposableArchitecture
import Foundation
import KMPClient
import Dependencies
import shared

struct StaffData: Equatable, Identifiable {
let id: Int64
let id: Int
let name: String
let icon: URL
let github: URL
Expand Down Expand Up @@ -43,7 +42,7 @@ public struct StaffReducer {
case .response(.success(let staffs)):
state.list = staffs.map {
StaffData(
id: $0.id,
id: Int($0.id),
name: $0.username,
icon: URL(string: $0.iconUrl)!,
github: URL(string: $0.profileUrl)!
Expand Down

0 comments on commit 902383f

Please sign in to comment.