Skip to content

Commit

Permalink
fix: navigation interaction to return to site tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouxm committed Jan 29, 2025
1 parent 18c21f9 commit c50e30b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const useNavToSiteAndShowSyncError = (siteId: string) => {
const syncNotifications = useSyncNotificationContext();

return useCallback(() => {
navigation.navigate('SITE_TABS', {siteId: siteId});
navigation.popTo('SITE_TABS', {siteId: siteId});
if (isFlagEnabled('FF_offline')) {
syncNotifications.showError();
}
Expand Down

0 comments on commit c50e30b

Please sign in to comment.