diff --git a/.changeset/every-baths-wash.md b/.changeset/every-baths-wash.md new file mode 100644 index 00000000..aefd6f18 --- /dev/null +++ b/.changeset/every-baths-wash.md @@ -0,0 +1,5 @@ +--- +'@tanstack/devtools': minor +--- + +modifies default hotkey to be Control ~, replacing Shift A diff --git a/packages/devtools/src/context/devtools-store.ts b/packages/devtools/src/context/devtools-store.ts index f312bc6a..94e20032 100644 --- a/packages/devtools/src/context/devtools-store.ts +++ b/packages/devtools/src/context/devtools-store.ts @@ -49,7 +49,7 @@ export type DevtoolsStore = { panelLocation: 'top' | 'bottom' /** * The hotkey to open the dev tools - * @default ["Shift", "A"] + * @default ["Control", "~"] */ openHotkey: Array /** @@ -99,7 +99,7 @@ export const initialState: DevtoolsStore = { hideUntilHover: false, position: 'bottom-right', panelLocation: 'bottom', - openHotkey: ['Shift', 'A'], + openHotkey: ['Control', '~'], inspectHotkey: ['Shift', 'CtrlOrMeta'], requireUrlFlag: false, urlFlag: 'tanstack-devtools',