mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
chore(code): remove useless code comments
This commit is contained in:
+2
-2
@@ -3,12 +3,12 @@
|
|||||||
"browser": true,
|
"browser": true,
|
||||||
"commonjs": true,
|
"commonjs": true,
|
||||||
"es2021": true,
|
"es2021": true,
|
||||||
"node": true // add this line to allow Node.js-specific globals
|
"node": true
|
||||||
},
|
},
|
||||||
"extends": "eslint:recommended",
|
"extends": "eslint:recommended",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": "latest",
|
"ecmaVersion": "latest",
|
||||||
"sourceType": "module" // add this line to allow 'import' and 'export' statements
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
// allow importing ts extensions
|
// allow importing ts extensions
|
||||||
|
|||||||
@@ -2518,15 +2518,15 @@ li.MessageList__unread___3imtO {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
/* On mouse-over, add a grey background color */
|
|
||||||
.upcoming-checkbox-container:hover input ~ .upcoming-checkmark {
|
.upcoming-checkbox-container:hover input ~ .upcoming-checkmark {
|
||||||
filter: brightness(0.8);
|
filter: brightness(0.8);
|
||||||
}
|
}
|
||||||
/* When the checkbox is checked, add a blue background */
|
|
||||||
.upcoming-checkbox-container input:checked ~ .upcoming-checkmark {
|
.upcoming-checkbox-container input:checked ~ .upcoming-checkmark {
|
||||||
background: var(--item-colour);
|
background: var(--item-colour);
|
||||||
}
|
}
|
||||||
/* Create the checkmark/indicator (hidden when not checked) */
|
|
||||||
.upcoming-checkmark:after {
|
.upcoming-checkmark:after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ function Picker() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Add event listener for 'message' event
|
|
||||||
window.addEventListener("message", handleMessage);
|
window.addEventListener("message", handleMessage);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
@@ -51,7 +50,6 @@ function Picker() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Watch for changes in showPicker and update the presets
|
|
||||||
if (!showPicker) {
|
if (!showPicker) {
|
||||||
// Check if the selected color is already in the presets
|
// Check if the selected color is already in the presets
|
||||||
const existingIndex = presets.indexOf(settingsState.customThemeColor);
|
const existingIndex = presets.indexOf(settingsState.customThemeColor);
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ const TabbedContainer: React.FC<TabbedContainerProps> = ({ tabs }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Add event listener for 'message' event
|
|
||||||
window.addEventListener("message", handleMessage);
|
window.addEventListener("message", handleMessage);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user