aboutsummaryrefslogtreecommitdiff
path: root/src/RootNavigation.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-24 17:23:58 -0400
committerIvan Chen <ivan@tagg.id>2021-05-24 17:23:58 -0400
commit0eb78b5c2d0731f0110cb7286786440ed19c4861 (patch)
tree76cd55c91f701e1fca16d3fe68d4706b5604ff84 /src/RootNavigation.ts
parentc634270d5466bf24741f1f4423696af373f88c03 (diff)
parent53f624423fa8f758da5542e62704b59fa53316ea (diff)
Merge branch 'master' into tma891-tag-with-photo-tap
Diffstat (limited to 'src/RootNavigation.ts')
-rw-r--r--src/RootNavigation.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RootNavigation.ts b/src/RootNavigation.ts
index 56ccfca4..9baa7828 100644
--- a/src/RootNavigation.ts
+++ b/src/RootNavigation.ts
@@ -1,7 +1,8 @@
import {NavigationContainerRef} from '@react-navigation/native';
import React from 'react';
-export const navigationRef: React.RefObject<NavigationContainerRef> = React.createRef();
+export const navigationRef: React.RefObject<NavigationContainerRef> =
+ React.createRef();
export function navigate(name: string) {
if (navigationRef.current) {