diff --git a/commafeed-client/src/components/settings/DisplaySettings.tsx b/commafeed-client/src/components/settings/DisplaySettings.tsx
index 38007ce6..e6ba0598 100644
--- a/commafeed-client/src/components/settings/DisplaySettings.tsx
+++ b/commafeed-client/src/components/settings/DisplaySettings.tsx
@@ -20,25 +20,6 @@ import {
import { locales } from "i18n"
import { type ReactNode } from "react"
-const displayModeData: ComboboxData = [
- {
- value: "always",
- label: t`Always`,
- },
- {
- value: "on_desktop",
- label: t`On desktop`,
- },
- {
- value: "on_mobile",
- label: t`On mobile`,
- },
- {
- value: "never",
- label: t`Never`,
- },
-]
-
export function DisplaySettings() {
const language = useAppSelector(state => state.user.settings?.language)
const scrollSpeed = useAppSelector(state => state.user.settings?.scrollSpeed)
@@ -59,6 +40,25 @@ export function DisplaySettings() {
if_needed: If the entry doesn't entirely fit on the screen,
}
+ const displayModeData: ComboboxData = [
+ {
+ value: "always",
+ label: t`Always`,
+ },
+ {
+ value: "on_desktop",
+ label: t`On desktop`,
+ },
+ {
+ value: "on_mobile",
+ label: t`On mobile`,
+ },
+ {
+ value: "never",
+ label: t`Never`,
+ },
+ ]
+
return (