add basic theme upload functionality

This commit is contained in:
SethBurkart123
2024-05-21 21:36:20 +10:00
parent c9c357bec2
commit 438af68b9f
4 changed files with 129 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ type ThemeSelectorRef = {
const Themes: FC = () => {
const [isEditMode, setIsEditMode] = useState<boolean>(false);
const themeSelectorRef = createRef<ThemeSelectorRef>(); // Add type annotation here
const themeSelectorRef = createRef<ThemeSelectorRef>();
const disableTheme = async () => {
themeSelectorRef?.current?.disableTheme();