Skip to content

Commit

Permalink
Update ImageCard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmio committed Aug 25, 2023
1 parent d657a0e commit 35ca87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const calculateDaysAfterPollination = async (pumpkinId, shareDate) => {
</div>
</label>
</div>
<Modal isOpen={isModalOpen} onRequestClose={closeModal} className="flex flex-col items-center justify-center bg-white rounded-lg p-4 max-w-lg mx-auto mt-10">
<Modal isOpen={isModalOpen} onRequestClose={closeModal} className="flex flex-col items-center justify-center bg-white rounded-lg p-4 max-w-lg mx-auto mt-20">
<button onClick={closeModal} className="self-start text-xl font-bold">&times;</button>
{isLoading ? (
<Spinner /> // Show spinner while loading
Expand Down

0 comments on commit 35ca87d

Please sign in to comment.