From 1bb2da299f548ff2c028adab5b282b0078136e17 Mon Sep 17 00:00:00 2001 From: Nareshkumar Rao <_accounts@nareshkumarrao.com> Date: Sun, 25 Jul 2021 00:16:32 +0200 Subject: [PATCH] optimize imports --- src/screens/HomeScreen.js | 2 +- src/screens/LoginScreen.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/screens/HomeScreen.js b/src/screens/HomeScreen.js index a3c750a..59611cb 100644 --- a/src/screens/HomeScreen.js +++ b/src/screens/HomeScreen.js @@ -1,4 +1,4 @@ -import { Box, Center, Flex, Image, Spinner, Text } from '@chakra-ui/react'; +import { Flex, Image, Spinner, Text } from '@chakra-ui/react'; import axios from 'axios'; import { React, useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; diff --git a/src/screens/LoginScreen.js b/src/screens/LoginScreen.js index df4e0fa..7ddfa44 100644 --- a/src/screens/LoginScreen.js +++ b/src/screens/LoginScreen.js @@ -1,12 +1,10 @@ import { - Button, - Divider, - Flex, + Button, Flex, FormControl, FormLabel, Heading, Input, - useToast, + useToast } from '@chakra-ui/react'; import axios from 'axios'; import { React, useState } from 'react';