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
12
12
const SingleProduct = ( { product } : IProductRootObject ) => {
13
13
const [ isLoading , setIsLoading ] = useState < boolean > ( true ) ;
14
14
const [ selectedVariation , setSelectedVariation ] = useState < number > ( ) ;
15
+
16
+ const placeholderFallBack = 'https://via.placeholder.com/600' ;
17
+
15
18
let DESCRIPTION_WITHOUT_HTML ;
16
19
17
20
useEffect ( ( ) => {
@@ -44,10 +47,10 @@ const SingleProduct = ({ product }: IProductRootObject) => {
44
47
) . body . textContent ;
45
48
}
46
49
47
- const placeholderFallBack = 'https://via.placeholder.com/600' ;
50
+
48
51
49
52
return (
50
- < section className = "py-8 bg-white" >
53
+ < section className = "py-8 bg-white mb-12 sm:mb-2 " >
51
54
{ /* Show loading spinner while loading, and hide content while loading */ }
52
55
{ isLoading ? (
53
56
< div className = "h-56 mt-20" >
You can’t perform that action at this time.
0 commit comments