fix case HotkeyScope to hotkeyScope (#1528)

This commit is contained in:
Charles Bochet
2023-09-09 18:22:53 -07:00
committed by GitHub
parent cfbeac9c56
commit 89fed80537
11 changed files with 35 additions and 35 deletions

View File

@ -29,7 +29,7 @@ const StyledContainer = styled.div`
export type UpdateViewButtonGroupProps = {
canPersistViewFields?: boolean;
HotkeyScope: string;
hotkeyScope: string;
onViewEditModeChange?: () => void;
onViewSubmit?: () => void | Promise<void>;
scopeContext: Context<string | null>;
@ -37,7 +37,7 @@ export type UpdateViewButtonGroupProps = {
export const UpdateViewButtonGroup = ({
canPersistViewFields,
HotkeyScope,
hotkeyScope,
onViewEditModeChange,
onViewSubmit,
scopeContext,
@ -91,7 +91,7 @@ export const UpdateViewButtonGroup = ({
useScopedHotkeys(
[Key.Enter, Key.Escape],
handleDropdownClose,
HotkeyScope,
hotkeyScope,
[],
);