Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Eslint: no-redeclare
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Jul 11, 2016
1 parent 225316e commit 4fd357b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/controller.js
Expand Up @@ -27,7 +27,7 @@ import Checkit from 'checkit';
import { format as format_url, parse as parse_url } from 'url';

import QueueSingleton from '../utils/queue';
import { processImage } from '../utils/image';
import { processImage as processImageUtil } from '../utils/image';
import config from '../../config';
import {
User as UserValidators,
Expand Down Expand Up @@ -1837,7 +1837,7 @@ export default class ApiController {
const originalData = await original.download();

// Process the data.
const newImage = await processImage(originalData.Body, transforms);
const newImage = await processImageUtil(originalData.Body, transforms);
const imageBuffer = await newImage.toBufferAsync(original.extension());

// Update the attachment specified in derived_id or create a new one.
Expand Down
4 changes: 2 additions & 2 deletions src/components/header-logo.js
Expand Up @@ -26,7 +26,7 @@ import currentUserSelector from '../selectors/currentUser';
import createSelector from '../selectors/createSelector';

class HeaderLogo extends Component {
toggleSidebar = () => {
handleClick = () => {
const {
dispatch
} = this.props;
Expand Down Expand Up @@ -55,7 +55,7 @@ class HeaderLogo extends Component {
if (current_user.get('id')) {
return (
<div
onClick={this.toggleSidebar}
onClick={this.handleClick}
className="header__logo action"
>
{logoBody}
Expand Down

0 comments on commit 4fd357b

Please sign in to comment.