Commit 3a744f98 authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

Merge branch 'tumlumtumla' into 'develop'

Tumlumtumla

See merge request !11
parents 5ca290c8 b9ec0614
...@@ -69,14 +69,12 @@ const Page = () => { ...@@ -69,14 +69,12 @@ const Page = () => {
'/home/hoi-vien-tieu-bieu/UOB-logo_Vuong.jpeg.webp', '/home/hoi-vien-tieu-bieu/UOB-logo_Vuong.jpeg.webp',
] ]
if (isLoadingNews || isLoadingCategory || isLoadingEvent)
return ( return (
<div className="w-full h-[80vh] flex justify-center items-center"> isLoadingNews || isLoadingCategory || isLoadingEvent ? (
<div className="container w-full h-[80vh] flex justify-center items-center">
<Spinner /> <Spinner />
</div> </div>
) ) : (
return (
<> <>
{/* Banner */} {/* Banner */}
<Swiper <Swiper
...@@ -589,6 +587,7 @@ const Page = () => { ...@@ -589,6 +587,7 @@ const Page = () => {
</div > </div >
</> </>
) )
)
} }
export default Page export default Page
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment