Merge pull request #2739 from inaturalist/mob-539-sharing-multiple-photos-shows-former-suggestions-screen

Fix: reset store when sharing photos into the app
This commit is contained in:
Johannes Klein
2025-03-11 10:13:54 +01:00
committed by GitHub

View File

@@ -54,7 +54,9 @@ const PhotoSharing = ( ): Node => {
return;
}
// Move to ObsEdit screen (new observation, with shared photos).
// when sharing, we need to reset zustand like we do while
// navigating through the AddObsModal
resetObservationFlowSlice( );
// Create a new observation with multiple shared photos (one or more)
let photoUris;