chore(code): remove useless code comments

This commit is contained in:
sethburkart123
2024-09-09 17:47:22 +10:00
parent ae1b676fc3
commit d04965db6a
4 changed files with 5 additions and 8 deletions
-2
View File
@@ -41,7 +41,6 @@ function Picker() {
};
useEffect(() => {
// Add event listener for 'message' event
window.addEventListener("message", handleMessage);
// Cleanup
@@ -51,7 +50,6 @@ function Picker() {
}, []);
useEffect(() => {
// Watch for changes in showPicker and update the presets
if (!showPicker) {
// Check if the selected color is already in the presets
const existingIndex = presets.indexOf(settingsState.customThemeColor);