Skip to content

Commit ecf53b1

Browse files
committed
removed unused imports and some commented code
1 parent 7819be0 commit ecf53b1

File tree

8 files changed

+1
-34
lines changed

8 files changed

+1
-34
lines changed

src/common/HelpCard.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ import CardMedia from "@mui/material/CardMedia";
44
import Typography from "@mui/material/Typography";
55
import { HelpCardProps } from "./props/HelpCardProps";
66

7-
const testWebm =
8-
"https://github.com/anserwaseem/automadeasy-videos/raw/main/help/video-webm.webm";
9-
10-
const testMp4 =
11-
"https://github.com/anserwaseem/automadeasy-videos/raw/main/help/video-mp4.mp4";
12-
137
export const HelpCard = (props: HelpCardProps) => {
148
return (
159
<Card>

src/components/Contact.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,13 @@ export const Contact = () => {
3333
Contact Us
3434
</Typography>
3535
<FormControl fullWidth onSubmit={handleSubmit}>
36-
{/* <Grid container direction={"column"}>
37-
<Grid item> */}
3836
<TextField
3937
id="subject"
4038
label="Subject"
4139
value={subject}
4240
onChange={(e) => setSubject(e?.target?.value || "")}
4341
sx={{ pb: "1rem" }}
4442
/>
45-
{/* </Grid>
46-
<Grid item> */}
4743
<TextField
4844
id="email"
4945
label="Email"
@@ -52,13 +48,6 @@ export const Contact = () => {
5248
onChange={(e) => setEmail(e?.target?.value || "")}
5349
sx={{ pb: "1rem" }}
5450
/>
55-
{/* <InputLabel htmlFor="email">Email address</InputLabel>
56-
<Input id="email" aria-describedby="email" />
57-
<FormHelperText id="email">
58-
We'll never share your email.
59-
</FormHelperText> */}
60-
{/* </Grid>
61-
<Grid item> */}
6251
<TextField
6352
id="message"
6453
label="Message"
@@ -67,8 +56,6 @@ export const Contact = () => {
6756
onChange={(e) => setMessage(e?.target?.value || "")}
6857
sx={{ pb: "1rem" }}
6958
/>
70-
{/* </Grid>
71-
</Grid> */}
7259
<Button variant="contained" type="submit" onClick={handleSubmit}>
7360
Submit
7461
</Button>

src/components/Help.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,4 @@ export const Help = () => {
8181
))}
8282
</div>
8383
);
84-
85-
// return (
86-
// <>
87-
// <video controls loop autoPlay={true} muted playsInline>
88-
// <source src={testMp4} type="video/mp4" />
89-
// Sorry, your browser doesn't support embedded videos.
90-
// </video>
91-
// </>
92-
// );
9384
};

src/components/Navbar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Menu from "@mui/material/Menu";
77
import MenuIcon from "@mui/icons-material/Menu";
88
import Container from "@mui/material/Container";
99
import Button from "@mui/material/Button";
10-
import AdbIcon from "@mui/icons-material/Adb";
1110
import { Pages } from "../enums/Pages";
1211
import { Link as RouterLink } from "react-router-dom";
1312
import Link from "@mui/material/Link";

src/features/TestAString.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { useContext, useEffect, useState } from "react";
88
import { TestAStringProps } from "./props/TestAStringProps";
99
import {
1010
Box,
11-
Typography,
1211
Grid,
1312
ButtonGroup,
1413
FormControl,

src/features/Upload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Button, MenuItem } from "@mui/material";
33
import FileUploadRoundedIcon from "@mui/icons-material/FileUploadRounded";
44
import { AutomataData } from "../components/types/AutomataData";
55
import { DataContext } from "../components/Editor";
6-
import { RowModel, TransitionModel } from "../models";
6+
import { TransitionModel } from "../models";
77
import { StyledTransitionLabel } from "./components/playground/StyledTransitionLabel";
88
import { UploadProps } from "./props/UploadProps";
99
import { StateMaxSize, StateMinSize } from "../consts/StateSizes";

src/features/components/minimzeDfa/MinimizedDfa.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ import { CustomAppBar } from "../../../common/CustomAppBar";
3636
import { CustomDrawer } from "../../../common/CustomDrawer";
3737
import { CustomAppBarProps } from "../../../common/props/CustomAppBarProps";
3838
import { CustomDrawerProps } from "../../../common/props/CustomDrawerProps";
39-
import { GetDrawerTransitionTableColumns } from "../../../utils/GetDrawerTransitionTableColumns";
40-
import { GetDrawerTransitionTableRows } from "../../../utils/GetDrawerTransitionTableRows";
4139

4240
let sliceIndex = 0; // index of such row (of Equivalence table) is saved where more than one Ticks are present
4341
let transitionIndex = 0; // used to keep track of which (transition table's) row's transitions are being animated

src/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import ReactDOM from 'react-dom/client';
32
import './index.css';
43
import App from './App';

0 commit comments

Comments
 (0)