Skip to content

Commit 2ec45ef

Browse files
yungstersmeta-codesync[bot]
authored andcommitted
xplat/js: Auto-fix react-prefer-namespace-import ESLint Rule
Summary: X-link: facebook/react-native#56233 Applies the automatic fixes from the new `react-prefer-namespace-import` ESLint rule. Changelog: [Internal] Reviewed By: thegreatercurve Differential Revision: D98338132 fbshipit-source-id: 856dd5b96bfb7ab8398bdcbea3651435acbc891e
1 parent bfeba10 commit 2ec45ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

website/src/pages/help/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
import Layout from '@theme/Layout';
12-
import React from 'react';
12+
import * as React from 'react';
1313

1414
const supportLinks = [
1515
{

website/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
1616
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
1717
import Layout from '@theme/Layout';
1818
import classnames from 'classnames';
19-
import React from 'react';
19+
import * as React from 'react';
2020
import GitHubButton from 'react-github-btn';
2121

2222
const contents = [

0 commit comments

Comments
 (0)