diff --git a/packages/vue-query-devtools/src/devtools.vue b/packages/vue-query-devtools/src/devtools.vue index 4f6937c38b..755b436d42 100644 --- a/packages/vue-query-devtools/src/devtools.vue +++ b/packages/vue-query-devtools/src/devtools.vue @@ -21,7 +21,7 @@ const devtools = new TanstackQueryDevtools({ }) watchEffect(() => { - devtools.setButtonPosition(props.buttonPosition || 'bottom-left') + devtools.setButtonPosition(props.buttonPosition || 'bottom-right') devtools.setPosition(props.position || 'bottom') devtools.setInitialIsOpen(props.initialIsOpen) devtools.setErrorTypes(props.errorTypes || []) diff --git a/packages/vue-query-devtools/src/types.ts b/packages/vue-query-devtools/src/types.ts index 87673849e1..56141dfb3a 100644 --- a/packages/vue-query-devtools/src/types.ts +++ b/packages/vue-query-devtools/src/types.ts @@ -13,7 +13,7 @@ export interface DevtoolsOptions { /** * The position of the React Query logo to open and close the devtools panel. * 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' - * Defaults to 'bottom-left'. + * Defaults to 'bottom-right'. */ buttonPosition?: DevtoolsButtonPosition /**