fix case HotkeyScope to hotkeyScope (#1528)
This commit is contained in:
@ -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,
|
||||
[],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user