Skip to content

Commit

Permalink
[router]: readd accidentally deleted line
Browse files Browse the repository at this point in the history
  • Loading branch information
marklawlor committed Mar 18, 2024
1 parent 2f9de55 commit 606cc2e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/expo-router/build/link/useLoadedNavigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/expo-router/build/link/useLoadedNavigation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/expo-router/src/link/useLoadedNavigation.ts
Expand Up @@ -25,7 +25,9 @@ export function useLoadedNavigation() {
if (isMounted.current) {
const pendingCallbacks = pending.current;
pending.current = [];
pendingCallbacks.forEach((callback) => {});
pendingCallbacks.forEach((callback) => {
callback(navigation as GenericNavigation);
});
}
}, [navigation]);

Expand Down

0 comments on commit 606cc2e

Please sign in to comment.