mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 19:54:39 +00:00
perf: add memo to react components
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { memo } from 'react';
|
||||
import { useSettingsContext } from '../SettingsContext';
|
||||
|
||||
const PickerSwatch = () => {
|
||||
@@ -16,4 +17,4 @@ const PickerSwatch = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default PickerSwatch;
|
||||
export default memo(PickerSwatch);
|
||||
|
||||
Reference in New Issue
Block a user