mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- 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.
11 lines
314 B
TypeScript
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);
|