mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
* Update ESLint config and lock prettier config * Refine ESLint config and fix lint issues * Apply eslint fixes * Use socketIo alias (#782) * move gesture handler * save wip updates * fix svg imports * update tsconfig * eslint updates * eslint fixes * improve ignore folders * coderabbit feedback * Fix style prop shorthands (#787) * Expand view style props * Expand remaining style props * update types * fix pipeline * fix test env check * nicer casting * fix booleans * update deeplink url handling and make it more robust * add socket error handler
32 lines
817 B
JavaScript
32 lines
817 B
JavaScript
// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
|
|
|
|
/**
|
|
* @format
|
|
*/
|
|
import './src/utils/ethers';
|
|
import 'react-native-gesture-handler';
|
|
|
|
import { config } from '@tamagui/config/v2-native';
|
|
import React from 'react';
|
|
import { AppRegistry, LogBox } from 'react-native';
|
|
import { createTamagui, TamaguiProvider } from 'tamagui';
|
|
|
|
import App from './App';
|
|
import { name as appName } from './app.json';
|
|
|
|
const tamaguiConfig = createTamagui(config);
|
|
|
|
LogBox.ignoreLogs([
|
|
/bad setState/,
|
|
'Warning, duplicate ID for input',
|
|
/Warning, duplicate ID for input/,
|
|
]);
|
|
|
|
const Root = () => (
|
|
<TamaguiProvider config={tamaguiConfig}>
|
|
<App />
|
|
</TamaguiProvider>
|
|
);
|
|
|
|
AppRegistry.registerComponent(appName, () => Root);
|