Files
oneuptime/MobileApp/index.ts
Nawaz Dhandala 59b3fc0334 Refactor screens and components for improved readability and consistency
- Simplified state management and data fetching in IncidentEpisodeDetailScreen.
- Enhanced code clarity by using arrow functions consistently and removing unnecessary destructuring.
- Improved type annotations across various screens for better TypeScript support.
- Streamlined the rendering of components in IncidentEpisodesScreen and IncidentsScreen.
- Updated NotificationPreferencesScreen to use consistent function signatures and improved readability.
- Refactored ProjectSelectionScreen and SettingsScreen for better structure and clarity.
- Enhanced LoginScreen and ServerUrlScreen with clearer type definitions and improved error handling.
- Updated storage utilities to ensure consistent type usage and improved code clarity.
- Refactored theme context and spacing utilities for better type safety and readability.
- Improved color and date utility functions for better maintainability.
2026-02-10 22:29:37 +00:00

11 lines
314 B
TypeScript

import { registerRootComponent } from "expo";
import App from "./App";
/*
* registerRootComponent calls AppRegistry.registerComponent('main', () => App);
* It also ensures that whether you load the app in Expo Go or in a native build,
* the environment is set up appropriately
*/
registerRootComponent(App);