mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-12 05:53:56 +00:00
Update linter and formatter tools
This commit is contained in:
@@ -27,7 +27,7 @@ export default function renderApplication<Props: Object>(
|
||||
invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);
|
||||
|
||||
renderFn(
|
||||
<AppContainer WrapperComponent={WrapperComponent} rootTag={rootTag}>
|
||||
<AppContainer rootTag={rootTag} WrapperComponent={WrapperComponent}>
|
||||
<RootComponent {...initialProps} />
|
||||
</AppContainer>,
|
||||
rootTag,
|
||||
@@ -41,7 +41,7 @@ export function getApplication(
|
||||
WrapperComponent?: ?ComponentType<*>
|
||||
): Object {
|
||||
const element = (
|
||||
<AppContainer WrapperComponent={WrapperComponent} rootTag={{}}>
|
||||
<AppContainer rootTag={{}} WrapperComponent={WrapperComponent}>
|
||||
<RootComponent {...initialProps} />
|
||||
</AppContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user