Skip to content

Commit 0e8636c

Browse files
committed
added button to close popup
1 parent 459dfb0 commit 0e8636c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

my-app/src/views/Components/CoursePagePopup.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function CoursePagePopup({
6161
className={`fixed backdrop-blur-lg inset-0 flex justify-center z-50 ${
6262
sidebarIsOpen ? 'pl-[400px]' : 'w-full'
6363
}`}
64+
onClick={onClose}
6465
>
6566
<div
6667
className="bg-indigo-300/75 backdrop-blur-lg h-full w-full flex flex-col overflow-auto"

0 commit comments

Comments
 (0)