make downloading themes possible from background script

This commit is contained in:
SethBurkart123
2024-04-11 08:42:33 +10:00
parent 8c06ea1ec1
commit 4a29885e62
5 changed files with 48 additions and 3 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ function ThemeCreator() {
}, []);
const generateImageId = () => {
return '_' + Math.random().toString(36).substr(2, 9);
return Math.random().toString(36).substr(2, 9);
};
const handleImageUpload = (event: React.ChangeEvent<HTMLInputElement>) => {