diff --git a/package.json b/package.json index 45c0b96..34866ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost-lite", - "version": "0.0.18", + "version": "0.0.19", "description": "Web application for Ghost and Casper chain.", "author": "Uncle f4ts0 ", "maintainers": [ diff --git a/src/components/ChainSelect.tsx b/src/components/ChainSelect.tsx index 95f0055..ea768c4 100644 --- a/src/components/ChainSelect.tsx +++ b/src/components/ChainSelect.tsx @@ -69,7 +69,7 @@ export const ChainSelect = () => { const api = select.connect(state, send, normalizeProps) return ( -
+
{state.context.value[0] && ( isConnected - ?
Connected
- :
Connecting...
+ ?
Connected
+ :
Connecting...
)}
) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index d6ad343..ab74074 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -19,8 +19,8 @@ export const Header = () => { return ( -
-

+
+

{currentPath}

diff --git a/src/containers/AddressBook.tsx b/src/containers/AddressBook.tsx index d60c102..745eebd 100644 --- a/src/containers/AddressBook.tsx +++ b/src/containers/AddressBook.tsx @@ -28,7 +28,7 @@ const AddressRecord: React.FC = ({ name, address, removeReco return ( -
+
{name}
@@ -36,22 +36,22 @@ const AddressRecord: React.FC = ({ name, address, removeReco @@ -581,17 +583,18 @@ export const Transactions = () => { {transactionHistory.map((props: TransactionHistory) => ( -
+
- + + @@ -613,28 +616,28 @@ export const Transactions = () => {
-
+
Tx hash:
-
+
Block hash:
-
+
Calldata:
@@ -662,23 +665,23 @@ export const Transactions = () => { )} {activeTab === "settings" && (
-
- Max lifetime: -
+
+ Max lifetime: +
{ const newValue = +e.target.value if (newValue) setHistoryLifetimeDuration(newValue) }} - className="w-[350px]" + className="sm:w-[350px] w-full" /> {convertedTimestamp({ timestamp: historyLifetimeDuration})}
-
+
Max records: { const newValue = +e.target.value if (newValue) setHistoryMaxRecords(newValue) }} - className="w-[350px]" + className="sm:w-[350px] w-full" />
-
+
Default amount: { setDefaultTransactAmount(e.target.value) setAmount(e.target.value) }} - className="w-[350px]" + className="sm:w-[350px] w-full" placeholder="Amount will be empty" />