diff --git a/src/index.js b/src/index.js index bd96906c..a2fca0b1 100644 --- a/src/index.js +++ b/src/index.js @@ -163,75 +163,6 @@ function LinkItem(props) { ); } -function ModalMenu() { - var providers = getProviders(); - var items = []; - var isChecked = localStorage.getItem("contenttype"); - for (var i = 0; i < providers.providers.length; i++) { - items.push( - - ); - } - return ( - - - - Options - - - - - - Color themes - - - Blackboard - Gazette - Espresso - Cab - Cloud - Lime - Passion - Blues - Chalk - Tron - Paper - Cyberpunk - Quadra - Panam - Touch - Peek - - - - Search options - - - - - Website - Prefix - - {items} - - - - - - - - - - - - ); -} - function HideButton(props) { if(props.checked === "true") { return ( @@ -658,8 +589,8 @@ function getThemes() { return themes; } function getPersonalData() { - let themes = require('./personaldata.json'); - return themes; + let personaldata = require('./personaldata.json'); + return personaldata; } function updateTheme(e) { var themes = getThemes();