Skip to content

Commit

Permalink
brought back cropData preview
Browse files Browse the repository at this point in the history
  • Loading branch information
nheek committed Oct 2, 2024
1 parent cf518ca commit efeb4fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/components/MyFiles/MyFiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ const MyFiles = () => {
Cancel
</button>
</div>
{cropData && (
<div className="mt-4">
<h3>Cropped Image Preview:</h3>
<img
src={cropData}
alt="Cropped Preview"
className="rounded shadow"
/>
</div>
)}
</div>
)}

Expand Down

0 comments on commit efeb4fb

Please sign in to comment.