Skip to content

Commit 1201960

Browse files
Merge pull request #12 from BagelEnthusiast/master
cleaned up logs throughout app
2 parents a1f7db9 + 971a494 commit 1201960

File tree

12 files changed

+585
-674
lines changed

12 files changed

+585
-674
lines changed

src/app/components/Action.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ const Action = (props: ActionProps): JSX.Element => {
5757
logChangedState,
5858
} = props;
5959

60-
// nathan test for props
61-
console.log('componentName: ', componentName);
6260
/**
6361
* @function cleanTime: Displays render times for state changes
6462
* @returns render display time in seconds in miliseconds
@@ -106,7 +104,6 @@ const Action = (props: ActionProps): JSX.Element => {
106104
}
107105
onClick={() => {
108106
dispatch(changeView(index));
109-
console.log(logChangedState(index));
110107
}}
111108
role='presentation'
112109
style={index > sliderIndex ? { color: '#5f6369' } : {}}
@@ -116,8 +113,8 @@ const Action = (props: ActionProps): JSX.Element => {
116113
<Trigger type='trigger'>
117114
<div className='action-component-trigger' style={index > sliderIndex ? { color: '#5f6369' } : {}}>
118115
<div className='action-component-text'>
119-
{/* {`${displayName}: ${componentName !== 'nameless' ? componentName : ''} `} */}
120-
{`displayName: ${displayName}`}
116+
{`${displayName}: ${componentName !== 'nameless' ? componentName : ''} `}
117+
{/* {`displayName: ${displayName}`} */}
121118
</div>
122119
<button className='time-button' type='button'>
123120
{displayTime}

src/app/components/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const initialState:{port: null|number,
1212
};
1313

1414
function App(): JSX.Element {
15-
console.log("window")
1615
return (
1716
<StoreContext.Provider value={useReducer(mainReducer, initialState)}>
1817
<MainContainer />

0 commit comments

Comments
 (0)