code cleanup

This commit is contained in:
canove
2020-09-29 06:14:16 -03:00
parent 96ae1d40a4
commit c36096c4b9
2 changed files with 24 additions and 24 deletions

View File

@@ -17,18 +17,18 @@ import { i18n } from "../../translate/i18n";
import { AuthContext } from "../../context/Auth/AuthContext"; import { AuthContext } from "../../context/Auth/AuthContext";
const Copyright = () => { // const Copyright = () => {
return ( // return (
<Typography variant="body2" color="textSecondary" align="center"> // <Typography variant="body2" color="textSecondary" align="center">
{"Copyleft "} // {"Copyleft "}
<Link color="inherit" href="https://github.com/canove"> // <Link color="inherit" href="https://github.com/canove">
Canove // Canove
</Link>{" "} // </Link>{" "}
{new Date().getFullYear()} // {new Date().getFullYear()}
{"."} // {"."}
</Typography> // </Typography>
); // );
}; // };
const useStyles = makeStyles(theme => ({ const useStyles = makeStyles(theme => ({
paper: { paper: {

View File

@@ -22,18 +22,18 @@ import { i18n } from "../../translate/i18n";
import api from "../../services/api"; import api from "../../services/api";
const Copyright = () => { // const Copyright = () => {
return ( // return (
<Typography variant="body2" color="textSecondary" align="center"> // <Typography variant="body2" color="textSecondary" align="center">
{"Copyleft "} // {"Copyleft "}
<Link color="inherit" href="https://github.com/canove"> // <Link color="inherit" href="https://github.com/canove">
Canove // Canove
</Link>{" "} // </Link>{" "}
{new Date().getFullYear()} // {new Date().getFullYear()}
{"."} // {"."}
</Typography> // </Typography>
); // );
}; // };
const useStyles = makeStyles(theme => ({ const useStyles = makeStyles(theme => ({
paper: { paper: {