mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
perf(settings): fix navigate-in-setState, memo sections, defer crypto resolution
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { deleteAccount, exportAccount, importAccount, setActiveAccount, useAccount, useAccounts } from '@bitsocialhq/pkc-react-hooks';
|
||||
import styles from './account-settings.module.css';
|
||||
@@ -189,4 +190,4 @@ const AccountSettings = () => {
|
||||
return <AccountSettingsEditor key={account?.id} account={account} />;
|
||||
};
|
||||
|
||||
export default AccountSettings;
|
||||
export default memo(AccountSettings);
|
||||
|
||||
Reference in New Issue
Block a user