Skip to content

Commit

Permalink
#1 - Fix web-nextjs build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
L committed Nov 18, 2021
1 parent 7bd1986 commit b9ce021
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 296 deletions.
8 changes: 0 additions & 8 deletions packages/components/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import React from 'react'
import {
SafeAreaView,
ScrollView,
StatusBar,
StyleSheet,
Text,
View,
} from 'react-native'

import { NavigationContainer } from '@react-navigation/native'
import { createNativeStackNavigator } from '@react-navigation/native-stack'
Expand Down
2 changes: 2 additions & 0 deletions packages/web-nextjs/@types/react-native.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as ReactNative from 'react-native'

declare module 'react-native' {
namespace AppRegistry {
function registerComponent(
Expand Down
Loading

0 comments on commit b9ce021

Please sign in to comment.