diff --git a/fixtures/unstable-async/suspense/src/components/App.js b/fixtures/unstable-async/suspense/src/components/App.js index 13762b1735..6c639487c0 100644 --- a/fixtures/unstable-async/suspense/src/components/App.js +++ b/fixtures/unstable-async/suspense/src/components/App.js @@ -1,4 +1,4 @@ -import React, {Fragment, Placeholder, PureComponent} from 'react'; +import React, {Placeholder, PureComponent} from 'react'; import {unstable_deferredUpdates} from 'react-dom'; import {createResource} from 'simple-cache-provider'; import {cache} from '../cache'; diff --git a/fixtures/unstable-async/suspense/src/components/UserPage.js b/fixtures/unstable-async/suspense/src/components/UserPage.js index 5c15f6be70..d1c3a1a75a 100644 --- a/fixtures/unstable-async/suspense/src/components/UserPage.js +++ b/fixtures/unstable-async/suspense/src/components/UserPage.js @@ -1,4 +1,4 @@ -import React, {Fragment, Placeholder} from 'react'; +import React, {Placeholder} from 'react'; import {createResource} from 'simple-cache-provider'; import Spinner from './Spinner'; import {cache} from '../cache'; @@ -112,8 +112,8 @@ const ImageResource = createResource( }) ); -function Img({src, ...rest}) { - return ; +function Img({src, alt, ...rest}) { + return {alt}; } function UserPicture({source}) {