File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { Metadata } from "next";
66import { ItemList , WithContext } from "schema-dts" ;
77import { get } from "@/utils/request" ;
88import { Course , Courses } from "@/types/api" ;
9- import SubcomRecruitmentPopup from "@/components/SubcomRecruitmentPopup/SubcomRecruitmentPopup" ;
109
1110
1211export async function generateMetadata ( ) : Promise < Metadata > {
@@ -63,7 +62,6 @@ export default async function Home() {
6362
6463 return (
6564 < div className = 'mb-20 bg-white dark:bg-slate-800 transition-color duration-150' >
66- < SubcomRecruitmentPopup />
6765 { /* Landing page graphic */ }
6866 < Image
6967 src = { navbar }
@@ -92,7 +90,6 @@ export default async function Home() {
9290 </ p >
9391 { /* Sponsors Section */ }
9492 < Sponsorships />
95-
9693 </ div >
9794 </ div >
9895 </ div >
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { notification } from "antd";
55
66const SubcomRecruitmentPopup = ( ) => {
77 useEffect ( ( ) => {
8- console . log ( 'TESTING' ) ;
98 const lastShown = localStorage . getItem ( "popupLastShown" ) ;
109 const now = new Date ( ) ;
1110 const showPopup = ! lastShown || new Date ( lastShown ) . getTime ( ) < now . getTime ( ) - 24 * 60 * 60 * 1000 ;
You can’t perform that action at this time.
0 commit comments