Skip to content

Commit e7def14

Browse files
author
john lim
committed
real revert and consoles cleaned up
1 parent a52a54b commit e7def14

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

app/src/components/login/FBPassWord.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ const SignUp: React.FC<LoginInt & RouteComponentProps> = props => {
8686
const handleSignUp = (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
8787
e.preventDefault();
8888
const email = props.location.state.email;
89-
console.log(email);
9089
// Reset Error Validation
9190
setInvalidPasswordMsg('');
9291
setInvalidVerifyPasswordMsg('');
@@ -132,7 +131,7 @@ const SignUp: React.FC<LoginInt & RouteComponentProps> = props => {
132131
}
133132

134133
// get username and email from FB
135-
134+
136135
newUserIsCreated(email, email, password).then(userCreated => {
137136
if (userCreated === 'Success') {
138137
props.history.push('/');

app/src/components/main/Canvas.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import StateContext from '../../context/context';
55
import { Component, DragItem } from '../../interfaces/Interfaces';
66
import { combineStyles } from '../../helperFunctions/combineStyles';
77
import renderChildren from '../../helperFunctions/renderChildren';
8-
import { ConfirmationNumberRounded } from '@material-ui/icons';
98

109
const findNestedChild = (curr, components) => {
1110
components.forEach((comp, i) => {
1211
comp.children.forEach(child => {
13-
if (child.name === curr.name) ConfirmationNumberRounded;
12+
if (child.name === curr.name) {};
1413
});
1514
if (comp.children.length !== 0) findNestedChild(curr, comp.children);
1615
});

app/src/reducers/componentReducer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ const reducer = (state: State, action: Action) => {
466466
state.HTMLTypes
467467
);
468468
}
469-
console.log('components', components);
470469

471470
const canvasFocus = { componentId: 1, childId: null };
472471

0 commit comments

Comments
 (0)