Browse Source

optimize imports

feature/qrscanner
Nareshkumar Rao 3 years ago
parent
commit
1bb2da299f
  1. 2
      src/screens/HomeScreen.js
  2. 6
      src/screens/LoginScreen.js

2
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 axios from 'axios';
import { React, useState } from 'react'; import { React, useState } from 'react';
import { useDispatch, useSelector } from 'react-redux'; import { useDispatch, useSelector } from 'react-redux';

6
src/screens/LoginScreen.js

@ -1,12 +1,10 @@
import { import {
Button,
Divider,
Flex,
Button, Flex,
FormControl, FormControl,
FormLabel, FormLabel,
Heading, Heading,
Input, Input,
useToast,
useToast
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import axios from 'axios'; import axios from 'axios';
import { React, useState } from 'react'; import { React, useState } from 'react';

Loading…
Cancel
Save