Skip to content

Commit

Permalink
Clean up unused files and fix broken UI elements (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and mvines committed Jun 12, 2020
1 parent e286481 commit 088e4b3
Show file tree
Hide file tree
Showing 131 changed files with 15 additions and 1,652 deletions.
8 changes: 5 additions & 3 deletions explorer/src/components/NetworkModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function CustomNetworkInput({ activeSuffix, active }: InputProps) {
/>
<div className="input-group-prepend">
<div className={`input-group-text pr-0 ${customClass("border")}`}>
<span className={customClass("text") || "text-dark"}>Custom</span>
<span className={customClass("text") || "text-dark"}>Custom:</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -123,8 +123,10 @@ function NetworkToggle() {
checked={active}
onChange={() => updateNetwork(dispatch, net, customUrl)}
/>
{`${networkName(net)}`}
<h6 className="text-muted">{networkUrl(net, customUrl)}</h6>
{`${networkName(net)}: `}
<span className="text-muted d-inline-block">
{networkUrl(net, customUrl)}
</span>
</label>
);
})}
Expand Down
12 changes: 10 additions & 2 deletions explorer/src/components/TransactionsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ function TransactionsCard() {
<table className="table table-sm table-nowrap card-table">
<thead>
<tr>
<th className="text-muted">
<span className="fe fe-hash"></span>
</th>
<th className="text-muted">Status</th>
<th className="text-muted">Signature</th>
<th className="text-muted">Confirmations</th>
Expand All @@ -60,7 +63,12 @@ function TransactionsCard() {
<tbody className="list">
<tr>
<td>
<span className={`badge badge-primary`}>New</span>
<span className="badge badge-soft-dark badge-pill">
{idCounter + 1}
</span>
</td>
<td>
<span className={`badge badge-soft-dark`}>New</span>
</td>
<td>
<input
Expand Down Expand Up @@ -132,7 +140,7 @@ const renderTransactionRow = (transaction: Transaction) => {
const slotText = `${transaction.slot || "-"}`;

return (
<tr key={transaction.signature}>
<tr key={transaction.id}>
<td>
<span className="badge badge-soft-dark badge-pill">
{transaction.id}
Expand Down
213 changes: 0 additions & 213 deletions explorer/src/components/header.js

This file was deleted.

Binary file removed explorer/src/img/logos-solana/Slice 1.png
Binary file not shown.
Loading

0 comments on commit 088e4b3

Please sign in to comment.