diff --git a/src/routes/Settings/SectionsList/SectionsList.js b/src/routes/Settings/SectionsList/SectionsList.js
index d56de298a..8ff5fe581 100644
--- a/src/routes/Settings/SectionsList/SectionsList.js
+++ b/src/routes/Settings/SectionsList/SectionsList.js
@@ -165,11 +165,11 @@ const SectionsList = React.forwardRef(({ className, sections, preferences, onPre
}
@@ -193,7 +193,7 @@ const SectionsList = React.forwardRef(({ className, sections, preferences, onPre
return (
{input.header ?
{input.header}
: null}
-
+
);
} else if (input.type === 'link') {
@@ -238,7 +238,7 @@ const SectionsList = React.forwardRef(({ className, sections, preferences, onPre
return (
{input.header ?
{input.header}
: null}
-
+
);
} else if (input.type === 'info') {
diff --git a/src/routes/Settings/Settings.js b/src/routes/Settings/Settings.js
index 90d3a725d..a8d216b20 100644
--- a/src/routes/Settings/Settings.js
+++ b/src/routes/Settings/Settings.js
@@ -10,7 +10,7 @@ const Settings = () => {
const [preferences, setPreferences] = useSettings();
const [dynamicSections, setDynamicSections] = React.useState(settingsSections);
// TODO: The Streaming section should be handled separately
- const sections = React.useMemo(()=>Object.keys(dynamicSections)
+ const sections = React.useMemo(() => Object.keys(dynamicSections)
.map((section) => ({
id: section,
inputs: dynamicSections[section],
@@ -39,7 +39,7 @@ const Settings = () => {
if (scrollContainer.scrollTop + scrollContainer.clientHeight === scrollContainer.scrollHeight) {
setSelectedSectionId(sections[sections.length - 1].id);
} else {
- for (let i = sections.length - 1;i >= 0;i--) {
+ for (let i = sections.length - 1; i >= 0; i--) {
if (sections[i].ref.current.offsetTop <= scrollContainer.scrollTop) {
setSelectedSectionId(sections[i].id);
break;