Skip to content

Commit

Permalink
bug(logs): refetch should use the last args as default query (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol authored Oct 29, 2024
1 parent c90e2e4 commit 546c69d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/developers/Debugger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Debugger = () => {
onClick={async () => {
setRefetchLoading(true)
setSelectedEventId(undefined)
await refetch({ page: 0 })
await refetch()
setRefetchLoading(false)
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/developers/WebhookLogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const WebhookLogs = () => {
icon="reload"
variant="quaternary"
onClick={async () => {
await refetch({ page: 0 })
await refetch()
}}
/>
</Tooltip>
Expand Down

0 comments on commit 546c69d

Please sign in to comment.