Skip to content

Commit

Permalink
fix: Default btn position for Vue.js
Browse files Browse the repository at this point in the history
  • Loading branch information
agustints committed Jan 17, 2024
1 parent 3b20e9e commit 1531207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vue-query-devtools/src/devtools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 || [])
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-query-devtools/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
/**
Expand Down

0 comments on commit 1531207

Please sign in to comment.