Skip to content

Commit a2ced94

Browse files
committed
Format Gusto sync results hook
1 parent d059b6e commit a2ced94

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/hooks/useGustoSyncResultsModal.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ function useGustoSyncResultsModal(policyID: string, connectionSyncProgress: Onyx
2121
previousSyncProgress?.stageInProgress === CONST.POLICY.CONNECTIONS.SYNC_STAGE_NAME.JOB_DONE &&
2222
previousSyncProgress?.timestamp === connectionSyncProgress?.timestamp &&
2323
!!previousSyncProgress?.result;
24-
const didGustoSyncComplete =
25-
isFocused && isGustoSyncDoneWithResult && !wasSameGustoResultAlreadyHandled;
24+
const didGustoSyncComplete = isFocused && isGustoSyncDoneWithResult && !wasSameGustoResultAlreadyHandled;
2625

2726
if (!didGustoSyncComplete || !syncResult) {
2827
return;

0 commit comments

Comments
 (0)