1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove junk from previous ticket

This commit is contained in:
Zachary Belford 2022-06-02 16:10:36 -07:00
parent 9c8b22a20b
commit 5e049aabff
No known key found for this signature in database
GPG Key ID: CC6C9E5B7B8D6059
7 changed files with 18 additions and 58 deletions

View File

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<title>MetaMask</title> <title>MetaMask</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr"> <link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled> <link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
</head> </head>

View File

@ -1,26 +1,13 @@
<!doctype html> <!doctype html>
<html data-theme="dark"> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8"> <meta charset="utf-8">
<title>MetaMask Notification</title> <title>MetaMask Notification</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
<style> <style>
@media (prefers-color-scheme: dark) {
#app-content { #app-content {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
background-color: var(--brand-colors-grey-grey800) !important;
}
}
@media (prefers-color-scheme: light) {
#app-content {
display: flex;
flex-flow: column;
background-color: var(--color-background-default) !important;
}
} }
#loading__logo { #loading__logo {
@ -37,6 +24,8 @@
margin-top: 1rem; margin-top: 1rem;
} }
</style> </style>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
</head> </head>
<body class="notification"> <body class="notification">
<div id="app-content"> <div id="app-content">

View File

@ -6,26 +6,6 @@
<title>MetaMask</title> <title>MetaMask</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr"> <link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled> <link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
<style>
#app-content {
display: flex;
flex-flow: column;
}
#loading__logo {
width: 10rem;
height: 10rem;
align-self: center;
margin: 10rem 0 0 0;
}
#loading__spinner {
width: 2rem;
height: 2rem;
align-self: center;
margin-top: 1rem;
}
</style>
</head> </head>
<body style="width:357px; height:600px;"> <body style="width:357px; height:600px;">
<div id="app-content"> <div id="app-content">

View File

@ -291,7 +291,6 @@ async function loadStateFromPersistence() {
}); });
} }
debugger;
// return just the data // return just the data
return versionedData.data; return versionedData.data;
} }

View File

@ -1,9 +1,5 @@
import setupSentry from './lib/setupSentry'; import setupSentry from './lib/setupSentry';
setInterval(() => {
console.log(window.localStorage);
}, 2000);
// setup sentry error reporting // setup sentry error reporting
global.sentry = setupSentry({ global.sentry = setupSentry({
release: process.env.METAMASK_VERSION, release: process.env.METAMASK_VERSION,

View File

@ -24,20 +24,18 @@ export default function LoadingHeartBeat({
return null; return null;
} }
return (<div>nippity do da</div>); return (
<div
// return ( className={classNames('loading-heartbeat', {
// <div [LOADING_CLASS]: active,
// className={classNames('loading-heartbeat', { })}
// [LOADING_CLASS]: active, onClick={(e) => {
// })} e.preventDefault();
// onClick={(e) => { e.stopPropagation();
// e.preventDefault(); }}
// e.stopPropagation(); style={{ backgroundColor }}
// }} ></div>
// style={{ backgroundColor }} );
// ></div>
// );
} }
LoadingHeartBeat.propTypes = { LoadingHeartBeat.propTypes = {

View File

@ -41,7 +41,6 @@ export default function NativeAsset({ nativeCurrency }) {
isEthNetwork={!rpcPrefs.blockExplorerUrl} isEthNetwork={!rpcPrefs.blockExplorerUrl}
optionsButton={ optionsButton={
<AssetOptions <AssetOptions
onRemove={() => {}}
isNativeAsset isNativeAsset
onClickBlockExplorer={() => { onClickBlockExplorer={() => {
trackEvent({ trackEvent({