Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit b8ea9ee

Browse files
author
Suguru Hirahara
committed
Fix push lint
1 parent 98b0a89 commit b8ea9ee

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

app/renderer/components/navigation/navigationBar.js

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const frameStateUtil = require('../../../../js/state/frameStateUtil')
3535
// Utils
3636
const cx = require('../../../../js/lib/classSet')
3737
const {getBaseUrl} = require('../../../../js/lib/appUrlUtil')
38-
const {isSourceAboutUrl} = require('../../../../js/lib/appUrlUtil')
3938
const {getSetting} = require('../../../../js/settings')
4039
const {isDarwin} = require('../../../common/lib/platformUtil')
4140
const {isFullScreen} = require('../../currentWindow')

app/renderer/components/navigation/urlBar.js

-7
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,6 @@ class UrlBar extends React.Component {
402402
}
403403
}
404404

405-
get hostValue () {
406-
const parsed = urlParse(this.props.location)
407-
return parsed.host &&
408-
parsed.protocol !== 'about:' &&
409-
parsed.protocol !== 'chrome-extension:' ? parsed.host : ''
410-
}
411-
412405
get titleValue () {
413406
// For about:newtab we don't want the top of the browser saying New Tab
414407
// Instead just show "Brave"

0 commit comments

Comments
 (0)