mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-14 07:34:40 +00:00
perf: add memo to react components
This commit is contained in:
@@ -5,6 +5,7 @@ import logoDark from './assets/betterseqta-light-full.png';
|
||||
import Shortcuts from './pages/Shortcuts';
|
||||
import Picker from './components/Picker';
|
||||
import Themes from './pages/Themes';
|
||||
import { memo } from 'react';
|
||||
|
||||
interface SettingsPage {
|
||||
standalone: boolean;
|
||||
@@ -38,4 +39,4 @@ const SettingsPage = ({ standalone }: SettingsPage) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default SettingsPage;
|
||||
export default memo(SettingsPage);
|
||||
Reference in New Issue
Block a user