Skip to content

Commit

Permalink
Fix call to refresh the device list
Browse files Browse the repository at this point in the history
Add missing parameter

Signed-off-by: Mattia Pavinati <mattia.pavinati@secomind.com>
  • Loading branch information
Pavinati committed Nov 12, 2024
1 parent 546abd0 commit c4bae8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DevicesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ export default (): React.ReactElement => {
</Container>
}
errorFallback={
<Empty title="Couldn't load the device list" onRetry={() => devicesFetcher.refresh()} />
<Empty title="Couldn't load the device list" onRetry={() => devicesFetcher.refresh({})} />
}
>
{({ devices, nextToken }) =>
Expand Down

0 comments on commit c4bae8b

Please sign in to comment.