Skip to content

Commit

Permalink
Fixed FeedbackForm Error
Browse files Browse the repository at this point in the history
  • Loading branch information
COdevra committed Aug 5, 2024
2 parents e8889aa + 7287411 commit eca7567
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nepalingo-web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ const Home: React.FC = () => {
/>
</div>

<div className="fixed top-4 right-4">
<div className="flex h-16 max-h-12 items-center justify-between py-4 px-5 bg-white-sidebar border-black">
<button
onClick={handleOpenFeedbackForm}
className="bg-blue-500 text-black px-2 py-1 rounded-md hover:bg-white-600"
className="bg-white-500 text-black px-2 py-1 rounded-md hover:bg-red-600"
>
Give Feedback
</button>
</div>


{isFeedbackFormOpen && (
<div className="fixed inset-0 bg-black-800 bg-opacity-0 flex justify-center items-center">
<div className="fixed inset-0 bg-white-800 bg-opacity-50 flex justify-center items-center">
<FeedbackForm onClose={handleCloseFeedbackForm} />
</div>
)}
Expand Down

0 comments on commit eca7567

Please sign in to comment.