Skip to content

Commit

Permalink
fix it lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffan153 committed Oct 22, 2020
1 parent 924f71f commit b404b74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EXTEND_ESLINT=true
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"eslintConfig": {
"extends": "react-app",
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
"react/jsx-uses-react": false,
"react/react-in-jsx-scope": false
}
},
"browserslist": {
Expand Down
6 changes: 2 additions & 4 deletions src/components/DeleteConfirm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ import {
DialogContentText,
DialogTitle,
Button,
} from "@material-ui/core";
} from '@material-ui/core';

const DeleteConfirm = ({ open, close, yes }) => {
return (
<Dialog open={open} onClose={close}>
<DialogTitle>Delete this item?</DialogTitle>
<DialogContent>
<DialogContentText>
Are you really sure you want to delete this item?
</DialogContentText>
<DialogContentText>Are you really sure you want to delete this item?</DialogContentText>
</DialogContent>
<DialogActions>
<Button onClick={close} color="primary">
Expand Down

0 comments on commit b404b74

Please sign in to comment.