File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ import LoadingSpinner from '@/components/LoadingSpinner/LoadingSpinner.component
1212const SingleProduct = ( { product } : IProductRootObject ) => {
1313 const [ isLoading , setIsLoading ] = useState < boolean > ( true ) ;
1414 const [ selectedVariation , setSelectedVariation ] = useState < number > ( ) ;
15+
16+ const placeholderFallBack = 'https://via.placeholder.com/600' ;
17+
1518 let DESCRIPTION_WITHOUT_HTML ;
1619
1720 useEffect ( ( ) => {
@@ -44,10 +47,10 @@ const SingleProduct = ({ product }: IProductRootObject) => {
4447 ) . body . textContent ;
4548 }
4649
47- const placeholderFallBack = 'https://via.placeholder.com/600' ;
50+
4851
4952 return (
50- < section className = "py-8 bg-white" >
53+ < section className = "py-8 bg-white mb-12 sm:mb-2 " >
5154 { /* Show loading spinner while loading, and hide content while loading */ }
5255 { isLoading ? (
5356 < div className = "h-56 mt-20" >
You can’t perform that action at this time.
0 commit comments