From f3ef7c074b0716e9c5f8a3122e057f29385227b9 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 12 May 2026 12:52:23 +0200 Subject: [PATCH] lint --- src/components/CallFooter.stories.tsx | 7 ++++--- src/components/CallFooterViewModel.tsx | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/CallFooter.stories.tsx b/src/components/CallFooter.stories.tsx index 04533891..88910bfd 100644 --- a/src/components/CallFooter.stories.tsx +++ b/src/components/CallFooter.stories.tsx @@ -28,9 +28,10 @@ const reactionData = { * A wrapper component that is used for: * - exposing the snapshot via props so the storybook documents the snapshot properties (basically unpack them form the vm) * - Add additional react context - * @param children used for the "Back to Recents" button in the lobby stories, but can be used for anything really - * @param vmSnapshot the Snapshot of the vm, the wrapper will create a mocked vm from it and pass it to the CallFooter. - * @returns + * The paraeters are all params from the FooterSnapshot, + * the Snapshot of the vm, the wrapper will create a mocked vm from it and pass it to the CallFooter. + * children used for the "Back to Recents" button in the lobby stories, but can be used for anything really + * @returns A component that renders the CallFooter based on primitive snapshot params (not a view model). Which is what we want for storybook. */ function CallFooterStoryWrapper({ children, diff --git a/src/components/CallFooterViewModel.tsx b/src/components/CallFooterViewModel.tsx index a8c5b83e..6d1d7acf 100644 --- a/src/components/CallFooterViewModel.tsx +++ b/src/components/CallFooterViewModel.tsx @@ -156,7 +156,7 @@ function buildDeviceBehaviors( * Creates the ViewModel for the CallFooter. * * @param scope - ObservableScope that bounds the lifetime of derived behaviors. - * @param vm - The root CallViewModel; provides layout, grid mode, reactions, etc. + * @param callModel - The root CallViewModel; provides layout, grid mode, reactions, etc. * @param muteStates - Audio and video mute state + toggles. * @param mediaDevices - Available and selected input devices. * @param openSettings - Callback to open the settings modal, or undefined if the