Skip to content

Commit 4093729

Browse files
Moving component.
1 parent 266cd03 commit 4093729

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/_layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const setJSExceptionHandlerClick = () => {
8585
const getJSExceptionHandlerClick = () => {
8686
// getJSExceptionHandler gives the currently set JS exception handler
8787
const currentHandler = getJSExceptionHandler();
88+
console.log("current JS Exception Handler: ", currentHandler.toString);
8889
};
8990

9091
// --- Component Definition ---
@@ -118,14 +119,14 @@ export default Sentry.wrap(function RootLayout() {
118119
<SessionProvider>
119120
<AuthProvider>
120121
<NotificationBootstrap />
121-
<View style={{ flexDirection: 'column', justifyContent: 'space-between' }}>
122+
<RootLayoutNav />
123+
<View style={{ flexDirection: 'column', justifyContent: 'space-between' }}>
122124
<Button title="setJSExceptionHandler" onPress={setJSExceptionHandlerClick} />
123125
<Button title="getJSExceptionHandler" onPress={getJSExceptionHandlerClick} />
124126
</View>
125127
<View style={{ flexDirection: 'column', justifyContent: 'space-between' }}>
126128
<Button title="setNativeExceptionHandler" onPress={setNativeExceptionHandlerClick} />
127129
</View>
128-
<RootLayoutNav />
129130
</AuthProvider>
130131
</SessionProvider>
131132
);

0 commit comments

Comments
 (0)