@@ -113,7 +113,7 @@ const GridView = ( { aggregatedData, onDeleteCard, onUpdateCard } ) => {
113113 onChange = { ( e ) => setSortField ( e . target . value ) }
114114 className = "px-2 py-1 rounded bg-white text-black font-semibold text-start"
115115 >
116- < option disabled aria-placeholder = "" > Sort by...</ option >
116+ < option disabled aria-placeholder = "Sort by..." > </ option >
117117 < option value = "productName" > Card Name</ option >
118118 < option value = "setName" > Set Name</ option >
119119 < option value = "number" > Card Number</ option >
@@ -131,14 +131,14 @@ const GridView = ( { aggregatedData, onDeleteCard, onUpdateCard } ) => {
131131 { sortDirection === 'asc' ? '▲ Ascending' : '▼ Descending' }
132132 </ button >
133133 </ div >
134-
134+ < Notification
135+ show = { notification . show }
136+ setShow = { ( show ) => setNotification ( ( prev ) => ( { ...prev , show } ) ) }
137+ message = { notification . message }
138+ />
135139 < div className = "container box-content w-full mx-auto flex flex-wrap flex-col gap-5 sm:grid sm:grid-cols-1 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4" >
136140
137- < Notification
138- show = { notification . show }
139- setShow = { ( show ) => setNotification ( ( prev ) => ( { ...prev , show } ) ) }
140- message = { notification . message }
141- />
141+
142142
143143
144144 { memoizedAggregatedData ?. map ( ( card ) => {
@@ -153,11 +153,11 @@ const GridView = ( { aggregatedData, onDeleteCard, onUpdateCard } ) => {
153153 className = { `glass rounded-md h-96 flip-card card group mx-auto ${ flippedCards [ card . _id ] ? 'flipped' : '' } ` }
154154 >
155155 < div
156- className = "flip-card-inner hover:cursor-pointer "
156+ className = "flip-card-inner hover:cursor-pointer rounded-md "
157157 onClick = { ( ) => toggleFlip ( card . _id ) }
158158 >
159159 { /* FRONT */ }
160- < div className = "flip-card-front" >
160+ < div className = "flip-card-front rounded-md " >
161161 < img
162162 className = "w-full h-auto aspect-auto object-scale-down object-center"
163163 as = "image"
@@ -171,7 +171,7 @@ const GridView = ( { aggregatedData, onDeleteCard, onUpdateCard } ) => {
171171 </ div >
172172
173173 { /* BACK */ }
174- < div className = "flip-card-back h-96 p-5 mx-auto cursor-default glass backdrop-opacity-15 text-white text-shadow overflow-hidden" >
174+ < div className = "flip-card-back h-96 rounded-md p-5 mx-auto cursor-default glass backdrop-opacity-15 text-white text-shadow overflow-hidden" >
175175
176176 < div >
177177 < h3 className = "text-xl font-bold text-center" > { card . productName } </ h3 >
0 commit comments