mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
remove useless logs
This commit is contained in:
@@ -24,7 +24,6 @@ const shareTheme = async (themeID: string) => {
|
|||||||
|
|
||||||
// Extract images and coverImage from themeData, if they exist
|
// Extract images and coverImage from themeData, if they exist
|
||||||
const { CustomImages = [], coverImage, ...themeWithoutImages } = themeData;
|
const { CustomImages = [], coverImage, ...themeWithoutImages } = themeData;
|
||||||
console.log('themeData', themeData);
|
|
||||||
|
|
||||||
// Helper function to convert Blob to Base64
|
// Helper function to convert Blob to Base64
|
||||||
const blobToBase64 = (blob: Blob) => new Promise<string>((resolve, reject) => {
|
const blobToBase64 = (blob: Blob) => new Promise<string>((resolve, reject) => {
|
||||||
@@ -66,8 +65,6 @@ const shareTheme = async (themeID: string) => {
|
|||||||
images: finalImages,
|
images: finalImages,
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('Final data', data);
|
|
||||||
|
|
||||||
saveThemeFile(data, themeData.name || 'Unnamed_Theme');
|
saveThemeFile(data, themeData.name || 'Unnamed_Theme');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error sharing theme:', error);
|
console.error('Error sharing theme:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user