applied various optimisations to UI

This commit is contained in:
SethBurkart123
2024-05-24 15:52:21 +10:00
parent abbb867672
commit 2bd0c00f11
8 changed files with 9 additions and 21 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { FC, createRef, useState } from 'react';
import BackgroundSelector from '../../components/BackgroundSelector';
import ThemeSelector from '../../components/ThemeSelector';
import { memo } from 'react';
type ThemeSelectorRef = {
disableTheme: () => void;
@@ -26,4 +27,4 @@ const Themes: FC = () => {
);
};
export default Themes;
export default memo(Themes);