Skip to content

Commit

Permalink
chore: remove unnecessary logs from native-stack v5 (software-mansion…
Browse files Browse the repository at this point in the history
…#2382)

## Description

Remove leftover logs

## Checklist

- [ ] Ensured that CI passes
  • Loading branch information
kkafar authored and ja1ns committed Oct 9, 2024
1 parent 074c5a2 commit 6db18f5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/native-stack/views/NativeStackView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,36 +355,31 @@ const RouteView = ({
});
}}
onWillAppear={() => {
console.log(`onWillAppear/transitionStart route: ${route.key}`);
navigation.emit({
type: 'transitionStart',
data: { closing: false },
target: route.key,
});
}}
onWillDisappear={() => {
console.log(`onWillDisappear/transitionStart route: ${route.key}`);
navigation.emit({
type: 'transitionStart',
data: { closing: true },
target: route.key,
});
}}
onAppear={() => {
console.log(`onAppear/appear route: ${route.key}`);
navigation.emit({
type: 'appear',
target: route.key,
});
console.log(`onAppear/transitionEnd route: ${route.key}`);
navigation.emit({
type: 'transitionEnd',
data: { closing: false },
target: route.key,
});
}}
onDisappear={() => {
console.log(`onDisappear/transitionEnd route: ${route.key}`);
navigation.emit({
type: 'transitionEnd',
data: { closing: true },
Expand All @@ -404,7 +399,6 @@ const RouteView = ({
}
}}
onDismissed={e => {
console.log(`onDismissed/dismiss route: ${route.key}`);
navigation.emit({
type: 'dismiss',
target: route.key,
Expand Down

0 comments on commit 6db18f5

Please sign in to comment.