Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 1b5e72a

Browse files
committed
fix lint
1 parent 91ae5b8 commit 1b5e72a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/renderer/main.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const { configDir } = require('../utils')
88
const config = require('../config')
99
const Searcher = require('./searcher')
1010

11-
const isMac = process.platform === 'darwin'
12-
1311
const win = remote.getCurrentWindow()
1412
let webview // eslint-disable-line prefer-const
1513

@@ -103,7 +101,7 @@ function createWebView() {
103101
contextMenu({
104102
window: webview,
105103
showInspectElement: true,
106-
append(props, win) {
104+
append(props) {
107105
const hasText = props.selectionText.trim().length > 0
108106
return [
109107
{

0 commit comments

Comments
 (0)