+ const classes = classNames("kw-statistic", className, {
+ "kw-statistic-green": green
+ });
+
+ return
{titleKey ? t(titleKey) : title}
{value}
;
diff --git a/src/components/transactions/TransactionItem.tsx b/src/components/transactions/TransactionItem.tsx
index c8a7918..590acad 100644
--- a/src/components/transactions/TransactionItem.tsx
+++ b/src/components/transactions/TransactionItem.tsx
@@ -133,7 +133,11 @@
)
: tx.type === "name_transfer" && (
// Transaction name
-
+
)}
;
diff --git a/src/components/wallets/SelectWalletFormat.tsx b/src/components/wallets/SelectWalletFormat.tsx
index d16f7f4..269fcc7 100644
--- a/src/components/wallets/SelectWalletFormat.tsx
+++ b/src/components/wallets/SelectWalletFormat.tsx
@@ -4,19 +4,17 @@
import React from "react";
import { Select } from "antd";
-import { useSelector } from "react-redux";
-import { RootState } from "../../store";
-
import { useTranslation } from "react-i18next";
import { WalletFormatName, ADVANCED_FORMATS } from "../../krist/wallets/formats/WalletFormat";
+import { useBooleanSetting } from "../../utils/settings";
interface Props {
initialFormat: WalletFormatName;
}
export function SelectWalletFormat({ initialFormat }: Props): JSX.Element {
- const advancedWalletFormats = useSelector((s: RootState) => s.settings.walletFormats);
+ const advancedWalletFormats = useBooleanSetting("walletFormats");
const { t } = useTranslation();
return