add closeThemeCreator error handling

This commit is contained in:
SethBurkart123
2024-05-24 15:11:12 +10:00
parent e6f53fa64f
commit abbb867672
3 changed files with 15 additions and 40 deletions
-1
View File
@@ -15,7 +15,6 @@ type ThemeContent = {
};
export const StoreDownloadTheme = async (theme: { themeContent: Theme }) => {
console.log(theme.themeContent.id);
if (!theme.themeContent.id) return;
const themeContent = await fetch(`https://raw.githubusercontent.com/BetterSEQTA/BetterSEQTA-Themes/main/store/themes/${theme.themeContent.id}/theme.json`);