Skip to content

Commit

Permalink
fix: broken eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Jan 26, 2022
1 parent 245dffa commit a1b2a26
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
12 changes: 2 additions & 10 deletions src/components/CaptureMatching/CaptureImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@ import React from 'react';

import CaptureHeader from './CaptureHeader';
import Grower from './Grower';
import theme from '../common/theme';

import {
Tooltip,
Typography,
Box,
Button,
Grid,
Paper,
} from '@material-ui/core';

import { Tooltip, Typography, Box, Button, Paper } from '@material-ui/core';
import AccessTimeIcon from '@material-ui/icons/AccessTime';
import LocationOnOutlinedIcon from '@material-ui/icons/LocationOnOutlined';
import SkipNextIcon from '@material-ui/icons/SkipNext';
Expand Down
2 changes: 0 additions & 2 deletions src/components/CaptureMatching/CaptureMatchingView.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import Navbar from '../Navbar';
import { makeStyles } from '@material-ui/core/styles';
import { Grid, Box, Paper, Typography } from '@material-ui/core';
import NatureOutlinedIcon from '@material-ui/icons/NatureOutlined';
import theme from '../common/theme';
import { documentTitle } from '../../common/variables';
import EditIcon from '@material-ui/icons/Edit';
import Fab from '@material-ui/core/Fab';

const useStyle = makeStyles((theme) => ({
Expand Down
3 changes: 3 additions & 0 deletions src/components/CaptureMatching/CurrentCaptureNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { makeStyles } from '@material-ui/core/styles';
import { Paper, Typography, Box } from '@material-ui/core';

const useStyles = makeStyles((t) => ({
test: {
padding: t.spacing(1),
},
box1: {
width: 173,
height: 50,
Expand Down
6 changes: 6 additions & 0 deletions src/components/CaptureMatching/Grower.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { makeStyles } from '@material-ui/core/styles';
import { Avatar, Typography, Box } from '@material-ui/core';

const useStyles = makeStyles((theme) => ({
test: {
padding: theme.spacing(1),
},
box1: {
display: 'flex',
flexDirection: 'row',
Expand All @@ -23,6 +26,9 @@ function Grower({ planter_photo_url, planter_username, status }) {
<Box className={classes.box2}>
<Typography variant="h5">{planter_username}</Typography>
<Typography variant="body1">{/*status*/ 'Other info'}</Typography>
<Typography variant="body1" style={{ display: 'none' }}>
{status}
</Typography>
</Box>
</Box>
);
Expand Down

0 comments on commit a1b2a26

Please sign in to comment.