From 14a40d9f6654e267349cb5d98fb7384de56fed79 Mon Sep 17 00:00:00 2001 From: ajnart Date: Mon, 20 Jun 2022 10:24:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Tweak=20values=20and=20UI=20chan?= =?UTF-8?q?ges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/AppCardWidthSelector.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/components/Settings/AppCardWidthSelector.tsx b/src/components/Settings/AppCardWidthSelector.tsx index f2f30ff01..945778e67 100644 --- a/src/components/Settings/AppCardWidthSelector.tsx +++ b/src/components/Settings/AppCardWidthSelector.tsx @@ -5,15 +5,6 @@ import { useConfig } from '../../tools/state'; export function AppCardWidthSelector() { const { config, setConfig } = useConfig(); - const MARKS = [ - { value: 0.8 }, - { value: 1 }, - { value: 1.2 }, - { value: 1.4 }, - { value: 1.6 }, - { value: 2 }, - ]; - const setappCardWidth = (appCardWidth: number) => { setConfig({ ...config, @@ -33,7 +24,6 @@ export function AppCardWidthSelector() { step={0.2} min={0.8} max={2} - marks={MARKS} styles={{ markLabel: { fontSize: 'xx-small' } }} onChange={(value) => setappCardWidth(value)} />