Cleaning up lint errors'
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
6657550254
commit
623cd50862
@ -10,6 +10,8 @@
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-moment": "^1.1.1",
|
||||
"react-router-dom": "^6.2.1",
|
||||
"react-scripts": "5.0.0",
|
||||
"web-vitals": "^2.1.2"
|
||||
},
|
||||
|
@ -8,9 +8,7 @@ import 'core-js/features/number/is-nan';
|
||||
import React from "react";
|
||||
import Button from '@material-ui/core/Button';
|
||||
import AppBar from '@material-ui/core/AppBar';
|
||||
import Box from '@material-ui/core/Box';
|
||||
import Toolbar from '@material-ui/core/Toolbar';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Router, Route } from "react-router-dom";
|
||||
|
||||
//import 'typeface-roboto';
|
||||
|
@ -609,7 +609,7 @@ class Board extends React.Component {
|
||||
|
||||
/* Scale mouse.x and mouse.y relative to board */
|
||||
this.mouse.x = (x - rect.left) /
|
||||
(this.minSize / hexagonRatio) - 0.5 - tileHeight * 0.5,
|
||||
(this.minSize / hexagonRatio) - 0.5 - tileHeight * 0.5;
|
||||
this.mouse.y = (y - rect.top) /
|
||||
(this.minSize / hexagonRatio) - 0.5 - tileHeight * 0.5;
|
||||
|
||||
@ -652,7 +652,7 @@ class Board extends React.Component {
|
||||
this.closest.tile = closest.tile;
|
||||
}
|
||||
|
||||
this.closest.info.distance = closest.distance,
|
||||
this.closest.info.distance = closest.distance;
|
||||
this.closest.info.angle = closest.angle;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ history.push = (path) => {
|
||||
};
|
||||
*/
|
||||
|
||||
export default history = createBrowserHistory({
|
||||
export default createBrowserHistory({
|
||||
basename: process.env.PUBLIC_URL
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user