perf(settings): fix navigate-in-setState, memo sections, defer crypto resolution

This commit is contained in:
plebeius
2026-03-04 15:41:21 +08:00
parent 2f697c6a36
commit df1bc2071d
8 changed files with 36 additions and 32 deletions
@@ -1,4 +1,4 @@
import { useState } from 'react';
import { memo, useState } from 'react';
import { Account, setAccount, useAccount } from '@bitsocialhq/pkc-react-hooks';
import styles from './crypto-wallets-setting.module.css';
import { Trans, useTranslation } from 'react-i18next';
@@ -200,4 +200,4 @@ const CryptoWalletsSetting = () => {
);
};
export default CryptoWalletsSetting;
export default memo(CryptoWalletsSetting);