Skip to content

Commit 366952d

Browse files
committed
minor changes
1 parent 60f056f commit 366952d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

10 Sidebar/src/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import * as React from 'react';
22
import { HelloComponent } from './hello';
33
import { NameEditComponent } from './nameEdit';
44
import { SidebarComponent } from './sidebar';

10 Sidebar/src/hello.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React from 'react';
2-
import PropTypes from 'prop-types';
1+
import * as React from 'react';
2+
import * as PropTypes from 'prop-types';
33

44
export const HelloComponent = (props) =>
55
<h2>Hello user: {props.userName}!</h2>;

10 Sidebar/src/main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import * as React from 'react';
22
import { render } from 'react-dom';
33
import { App } from './app';
44

10 Sidebar/src/nameEdit.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React from 'react';
2-
import PropTypes from 'prop-types';
1+
import * as React from 'react';
2+
import * as PropTypes from 'prop-types';
33

44
export const NameEditComponent = (props) => (
55
<div>

0 commit comments

Comments
 (0)