Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Oct 31, 2019
1 parent 545e788 commit e20f80d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/mocks/maps.mock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const generatePins = (count: number): Array<IMapPin> => {
}

export const generatePinDetails = (pin: IMapPin): IMapPinDetail => {
console.log('generating details', pin)
const randomDate = new Date()
randomDate.setSeconds(randomDate.getSeconds() - Math.random() * 10000)
const lastActive = randomDate.toISOString()
Expand Down
1 change: 0 additions & 1 deletion src/pages/Maps/Content/View/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export class Popup extends React.Component<IProps> {

public render() {
const { activePin } = this.props
console.log('render', { ...activePin })
const content = (activePin as IMapPinDetail).name
? this.renderContent(activePin as IMapPinDetail)
: this.renderLoading()
Expand Down
3 changes: 0 additions & 3 deletions src/stores/Maps/maps.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ export class MapsStore extends ModuleStore {
const pinDetail = IS_MOCK
? generatePinDetails(pin)
: await this.getUserProfilePin(pin._id)
console.log('active pin', pin)
console.log('pin detail', pinDetail)
this.activePin = { ...pin, ...pinDetail }
}
}
Expand All @@ -151,7 +149,6 @@ export class MapsStore extends ModuleStore {
// add new pin or update existing
public async setPin(pin: IMapPin) {
// generate standard doc meta
console.debug('setting pin', pin)
return this.db
.collection('v2_mappins')
.doc(pin._id)
Expand Down

0 comments on commit e20f80d

Please sign in to comment.