Skip to content

Commit

Permalink
remove the always fail testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
aamirazad committed Jun 30, 2024
1 parent 3a8850d commit 24be218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/document-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function DocumentViewer(props: { id: number }) {
return <SkeletonLoader />;
}

if (pdfUrl) {
if (!pdfUrl) {
return (
<div className="flex justify-center">
<div className="mx-auto max-w-sm rounded-lg bg-black p-4 shadow-md">
Expand Down

0 comments on commit 24be218

Please sign in to comment.