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 e3573ce commit 22f8c97
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 @@ -124,7 +124,7 @@ export default 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 22f8c97

Please sign in to comment.