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,4 +1,4 @@
|
||||
import { RefObject, useRef, useState } from 'react';
|
||||
import { memo, RefObject, useRef, useState } from 'react';
|
||||
import { setAccount, useAccount, usePlebbitRpcSettings } from '@bitsocialhq/pkc-react-hooks';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import styles from './advanced-settings.module.css';
|
||||
@@ -309,4 +309,4 @@ const AdvancedSettings = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default AdvancedSettings;
|
||||
export default memo(AdvancedSettings);
|
||||
|
||||
Reference in New Issue
Block a user