From 55a27c51d02d27deef0e315ef5c11700c8182701 Mon Sep 17 00:00:00 2001 From: Brody McKee Date: Fri, 23 Oct 2020 01:30:37 +0300 Subject: [PATCH] feat: remove unused React imports (#9853) --- packages/cra-template/template/src/App.js | 1 - packages/cra-template/template/src/App.test.js | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/cra-template/template/src/App.js b/packages/cra-template/template/src/App.js index 49571191309..c930d47be71 100644 --- a/packages/cra-template/template/src/App.js +++ b/packages/cra-template/template/src/App.js @@ -1,4 +1,3 @@ -import React from "react" import "react-toastify/dist/ReactToastify.css" import { Container, CssBaseline } from "@material-ui/core" import { ToastContainer } from "react-toastify" diff --git a/packages/cra-template/template/src/App.test.js b/packages/cra-template/template/src/App.test.js index 8c3139b68e0..9b74ee2410e 100644 --- a/packages/cra-template/template/src/App.test.js +++ b/packages/cra-template/template/src/App.test.js @@ -1,6 +1,5 @@ -import React from "react" -import { render, screen } from "@testing-library/react" -import App from "./App" +import { render, screen } from '@testing-library/react'; +import App from './App'; test("renders home", () => { render()