From fa824d092195713bf85d56cbda8bad976bbc1900 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 3 Aug 2018 13:31:20 +0100 Subject: [PATCH] Fix lint --- fixtures/unstable-async/suspense/src/components/App.js | 2 +- fixtures/unstable-async/suspense/src/components/UserPage.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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}) {