Skip to content

Commit

Permalink
Added iframe for pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
GautamPatil1 committed Mar 22, 2024
1 parent a91fde7 commit 21348c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Viewer() {
return (
<div className={styles.container}>
<div className={styles.pdf}>
<iframe src={userData.file} frameborder="0"></iframe>
<iframe src={decodeURI(userData.file)} frameborder="0"></iframe>
</div>
</div>
);
Expand Down

0 comments on commit 21348c8

Please sign in to comment.