From cdf7c32d68bac1ae3d1dfc3ed2789c68d9123aa2 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Fri, 15 Aug 2025 22:08:58 -0700 Subject: [PATCH] refactor: Move `App.tsx` into `src` folder --- index.js | 2 +- App.tsx => src/App.tsx | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename App.tsx => src/App.tsx (78%) diff --git a/index.js b/index.js index a850d03..69303b3 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ */ import {AppRegistry} from 'react-native'; -import App from './App'; +import App from './src/App'; import {name as appName} from './app.json'; AppRegistry.registerComponent(appName, () => App); diff --git a/App.tsx b/src/App.tsx similarity index 78% rename from App.tsx rename to src/App.tsx index 490aea3..4102bd2 100644 --- a/App.tsx +++ b/src/App.tsx @@ -1,13 +1,12 @@ -// Copyright (c) 2022 Joseph Hale +// Copyright (c) 2022 - 2025 Joseph Hale // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -import BinaryClockScreen from './src/pages/BinaryClockScreen'; +import BinaryClockScreen from './pages/BinaryClockScreen'; import BootSplash from 'react-native-bootsplash'; import { KeepAwake } from '@thehale/react-native-keep-awake'; -import React from 'react'; import { StatusBar } from 'react-native'; const App = () => { @@ -21,4 +20,4 @@ const App = () => { ); }; -export default App; +export default App; \ No newline at end of file -- 2.51.2