Skip to content

Commit

Permalink
fix: remove truthy condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Dec 11, 2024
1 parent 9a445d6 commit d9a4089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/routes/pdf.$reportId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ const View = (props: ReportPDFDocumentProps) => {
enabled: !!props.htmlString,
});

if (true || query.isLoading)
if (query.isLoading)
return (
<Center h="100%">
<Spinner />
Expand Down

0 comments on commit d9a4089

Please sign in to comment.