File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ const Tab = createBottomTabNavigatior({
304304 listeners: {
305305 tabPress : (e ) => {
306306 // Prevent default action
307- e .preventDefault ;
307+ e .preventDefault () ;
308308 },
309309 },
310310 },
@@ -345,7 +345,7 @@ const Tab = createBottomTabNavigatior({
345345 listeners : ({ navigation, route }) => ({
346346 tabPress : (e ) => {
347347 // Prevent default action
348- e .preventDefault ;
348+ e .preventDefault () ;
349349
350350 // Do something with the `navigation` object
351351 navigation .navigate (' AnotherPlace' );
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ const Tab = createBottomTabNavigatior({
304304 listeners: {
305305 tabPress : (e ) => {
306306 // Prevent default action
307- e .preventDefault ;
307+ e .preventDefault () ;
308308 },
309309 },
310310 },
@@ -345,7 +345,7 @@ const Tab = createBottomTabNavigatior({
345345 listeners : ({ navigation, route }) => ({
346346 tabPress : (e ) => {
347347 // Prevent default action
348- e .preventDefault ;
348+ e .preventDefault () ;
349349
350350 // Do something with the `navigation` object
351351 navigation .navigate (' AnotherPlace' );
You can’t perform that action at this time.
0 commit comments