From fb5928c599f212a1795f233798f56d00cb5805a1 Mon Sep 17 00:00:00 2001 From: Calum Gunn Date: Thu, 16 Dec 2021 17:47:44 +0100 Subject: [PATCH] Once Again Kneel Before The Linter --- src/components/PresetControl.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/PresetControl.tsx b/src/components/PresetControl.tsx index d82f3b17..61bf366d 100644 --- a/src/components/PresetControl.tsx +++ b/src/components/PresetControl.tsx @@ -4,13 +4,17 @@ import { getPresets } from "../selectors/entities"; import { RootStateType } from "../lib/store"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import styled from "styled-components"; -import { PresetRecord } from "../models/preset"; import { sendPresetToRemote, savePresetToRemote } from "../actions/device"; interface StyledProps { open: boolean; } +interface Preset { + id: string; + name: string; +} + const PresetWrapper = styled.div` display: flex; flex-direction: column; @@ -113,7 +117,8 @@ const PresetControl = memo(function WrappedPresetControl(): JSX.Element { Select a preset: { - presetList && presetList.valueSeq().map(p => ) + presetList && + presetList.valueSeq().map((p: Preset) => ) }