refactor: table mode and context

This commit is contained in:
Carlos Valente
2026-01-10 09:41:40 +01:00
committed by Carlos Valente
parent 8c22968bc9
commit c5045ad82e
64 changed files with 560 additions and 273 deletions
@@ -7,7 +7,7 @@ import IconButton from '../../../common/components/buttons/IconButton';
import * as Editor from '../../../common/components/editor-utils/EditorUtils';
import TimeInput from '../../../common/components/input/time-input/TimeInput';
import Tooltip from '../../../common/components/tooltip/Tooltip';
import { useRundownEntryActions } from '../context/RundownActionsContext';
import { useEntryActionsContext } from '../../../common/context/EntryActionsContext';
import TimeInputGroup from './TimeInputGroup';
@@ -37,7 +37,7 @@ function TimeInputFlow({
delay,
showLabels,
}: TimeInputFlowProps) {
const { updateEntry, updateTimer } = useRundownEntryActions();
const { updateEntry, updateTimer } = useEntryActionsContext();
// In sync with EventEditorTimes
const handleSubmit = (field: TimeField, value: string) => {