mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
remove unnecessary logging
This commit is contained in:
@@ -7,12 +7,10 @@ import { blobToBase64 } from '../../utils/blobToBase64';
|
||||
export const getAvailableThemes = async (): Promise<ThemeList | {}> => {
|
||||
try {
|
||||
const themeIds = await localforage.getItem('customThemes') as string[] | null;
|
||||
console.log('Available themes:', themeIds);
|
||||
if (themeIds) {
|
||||
const themes = await Promise.all(
|
||||
themeIds.map(async (id) => {
|
||||
const theme = await localforage.getItem(id) as CustomTheme;
|
||||
console.log('CoverImage: ', theme.coverImage)
|
||||
const { CustomImages, ...themeWithoutImages } = theme;
|
||||
return {
|
||||
...themeWithoutImages,
|
||||
|
||||
Reference in New Issue
Block a user