Skip to content

Commit

Permalink
Clean Up
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPatel10 committed Dec 10, 2022
1 parent e73c527 commit aae5af4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/components/Custom404.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Box, Button, Container, Typography, CardContent } from '@mui/material';
import Grid from '@mui/material/Grid';
import { Box, Button, Typography, CardContent } from '@mui/material';

const Custom404 = () => {
return (
Expand All @@ -13,7 +12,7 @@ const Custom404 = () => {
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'column',
p: 4
p: 5
} }
>
<Typography variant="h1" >
Expand All @@ -22,7 +21,7 @@ const Custom404 = () => {
<Typography variant="h6" sx={{mt:1}}>
The page you’re looking for doesn’t exist.
</Typography>
<Button variant="contained" sx={{mt:3}} onClick={() =>window.history.back()} >Back</Button>
<Button variant="contained" sx={{mt:3}} onClick={() => window.history.back()} >Back</Button>
</Box>
</CardContent>
</React.Fragment>
Expand Down

0 comments on commit aae5af4

Please sign in to comment.