1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fixed review comments

This commit is contained in:
Maurits Lourens
2017-12-13 17:11:43 +01:00
parent 8c8a0ab46d
commit 5d46adf8fd
2 changed files with 8 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ import dataApi from 'browser/main/lib/dataApi'
import StorageItemChild from 'browser/components/StorageItem'
import eventEmitter from 'browser/main/lib/eventEmitter'
import _ from 'lodash'
const path = require('path')
import * as path from 'path'
const { remote } = require('electron')
const { Menu, MenuItem, dialog } = remote
@@ -25,7 +25,7 @@ class StorageItem extends React.Component {
}
handleHeaderContextMenu (e) {
let menu = Menu.buildFromTemplate([
const menu = Menu.buildFromTemplate([
{
label: 'Add Folder',
click: (e) => this.handleAddFolderButtonClick(e)