From f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Mon, 19 Jul 2021 20:06:08 +0300 Subject: Apply Prettier --- app/navigators/main-navigator.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'app/navigators/main-navigator.tsx') diff --git a/app/navigators/main-navigator.tsx b/app/navigators/main-navigator.tsx index d8dc634..a1c5bbf 100644 --- a/app/navigators/main-navigator.tsx +++ b/app/navigators/main-navigator.tsx @@ -4,9 +4,14 @@ * * You'll likely spend most of your time in this file. */ -import React from "react" -import { createStackNavigator } from "@react-navigation/stack" -import { WelcomeScreen, DemoScreen, DemoListScreen, GraphScreen } from "../screens" +import React from 'react' +import { createStackNavigator } from '@react-navigation/stack' +import { + WelcomeScreen, + DemoScreen, + DemoListScreen, + GraphScreen, +} from '../screens' /** * This type allows TypeScript to know what routes are defined in this navigator @@ -34,11 +39,11 @@ export function MainNavigator() { return ( - + ) } @@ -55,5 +60,5 @@ export function MainNavigator() { * * `canExit` is used in ./app/app.tsx in the `useBackButtonHandler` hook. */ -const exitRoutes = ["welcome"] +const exitRoutes = ['welcome'] export const canExit = (routeName: string) => exitRoutes.includes(routeName) -- cgit v1.2.3