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

Commit

Permalink
Since new list is cleared after a visit, let's not have any default p…
Browse files Browse the repository at this point in the history
…inned sites.

Auditors: @diracdeltas
  • Loading branch information
bsclifton committed Mar 14, 2017
1 parent fa2eb80 commit 34e6be4
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions js/data/newTabData.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,7 @@ const iconPath = getBraveExtUrl('img/newtab/defaultTopSitesIcon')
*/
const now = Date.now()

module.exports.pinnedTopSites = [
{
"count": 1,
"favicon": `${iconPath}/twitter.png`,
"lastAccessedTime": now,
"location": "https://twitter.com/brave",
"partitionNumber": 0,
"tags": [],
"themeColor": "rgb(255, 255, 255)",
"title": "Brave Software (@brave) | Twitter"
}
]
module.exports.pinnedTopSites = []

module.exports.topSites = [
{
Expand Down

1 comment on commit 34e6be4

@diracdeltas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Please sign in to comment.