Skip to content

Commit d58110f

Browse files
chore: fix ESLINT
1 parent 3c777a6 commit d58110f

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • src/hooks/useRestartOnOdometerImagesFailure

src/hooks/useRestartOnOdometerImagesFailure/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,8 @@ const useRestartOnOdometerImagesFailure = (
7070
},
7171
].filter(({path}) => !!path && path.startsWith('blob:'));
7272

73-
if (urlsToCheck.length === 0) {
74-
// No stale blobs at mount = later additions are session-fresh
75-
setAsyncVerificationPassed(true);
76-
return;
77-
}
78-
73+
// Empty urlsToCheck flows through Promise.all -> [].every(Boolean) === true -> marks verification passed
74+
// Later blob additions (draft hydration, fresh capture) are minted in this session and stay trusted
7975
Promise.all(
8076
urlsToCheck.map(
8177
({filename, path, type}) =>

0 commit comments

Comments
 (0)