feat: Adds form style to styleguide.

This commit is contained in:
2024-06-14 11:12:10 -04:00
parent eb0253077b
commit 50e80d39eb
6 changed files with 24 additions and 23 deletions

View File

@@ -182,17 +182,7 @@ public struct FlaggedMeasurementsList: Sendable {
print("No changes found, not generating a new flagged estimation measurement.")
return .none
}
//
// let estimationState = form.estimationState
// // Check if there's an existing estimation with the same id, and
// // check for changes. If no changes, then short circuit and return nothing.
// if let id = form.id,
// let existingState = state.sharedSettings.flaggedEstimations[id: id]?.estimationState,
// existingState.hasChanges(estimationState)
// {
// return .none
// }
return .receive(action: \.receive) { [sharedSettings = state.sharedSettings] in
let flaggedMeasurement = try await flaggedMeasurement(