Files
self/app/web/main.tsx
Justin Hernandez 431f556542 chore: centralize license header checks (#952)
* chore: centralize license header scripts

* chore: run license header checks from root

* add header to other files

* add header to bundle

* add migration script and update check license headers

* convert license to mobile sdk

* migrate license headers

* remove headers from common; convert remaining

* fix headers

* add license header checks
2025-08-25 11:30:23 -07:00

30 lines
780 B
TypeScript

// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
// SPDX-License-Identifier: BUSL-1.1
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
import React from 'react';
import { createRoot } from 'react-dom/client';
import { TamaguiProvider, View } from 'tamagui';
import App from '../App';
import tamaguiConfig from '../tamagui.config.ts';
import 'react-native-get-random-values';
import './fonts.css';
import './reset.css';
const Root = () => (
<TamaguiProvider config={tamaguiConfig}>
<View flex={1} height="100vh" width="100%">
<App />
</View>
</TamaguiProvider>
);
// Create root element and render the app
const container = document.getElementById('root');
if (container) {
const root = createRoot(container);
root.render(<Root />);
}