remove unnecessary console logs

This commit is contained in:
SethBurkart123
2023-12-21 13:24:33 +11:00
parent 2f32777282
commit e13edc5be7
+2 -9
View File
@@ -6,7 +6,7 @@ interface ThemeList {
export const downloadTheme = async (themeName: string, themeURL: string) => {
// send message to the background script
const response = await browser.runtime.sendMessage({
await browser.runtime.sendMessage({
type: 'currentTab',
info: 'DownloadTheme',
body: {
@@ -14,13 +14,11 @@ export const downloadTheme = async (themeName: string, themeURL: string) => {
themeURL: themeURL
}
});
console.log("Response: ", response);
}
export const setTheme = async (themeName: string, themeURL: string) => {
// send message to the background script
const response = await browser.runtime.sendMessage({
await browser.runtime.sendMessage({
type: 'currentTab',
info: 'SetTheme',
body: {
@@ -28,8 +26,6 @@ export const setTheme = async (themeName: string, themeURL: string) => {
themeURL: themeURL
}
});
console.log("Response: ", response);
}
export const listThemes = async () => {
@@ -39,9 +35,6 @@ export const listThemes = async () => {
info: 'ListThemes'
});
// response.themes is an array of strings that are identical to the theme names that we loop over. Use this list to see which ones are downloaded and which ones need to see the download icon.
console.log("Response: ", response);
return response;
}