diff --git a/lib/cards/useGridLoading.js b/lib/cards/useGridLoading.js index 093c25f2b..aa6683a02 100644 --- a/lib/cards/useGridLoading.js +++ b/lib/cards/useGridLoading.js @@ -107,22 +107,22 @@ export default function useGridLoading(props) { ([newBreakpoint]) => { skeletonCount.value = currentBreakpointConfig.value.cardsPerRow; - const breakpointSkeletonconfig = getBreakpointConfig(skeletonsConfig.value, newBreakpoint); - if (breakpointSkeletonconfig) { - if (breakpointSkeletonconfig.count) { - skeletonCount.value = breakpointSkeletonconfig.count; + const breakpointSkeletonConfig = getBreakpointConfig(skeletonsConfig.value, newBreakpoint); + if (breakpointSkeletonConfig) { + if (breakpointSkeletonConfig.count) { + skeletonCount.value = breakpointSkeletonConfig.count; } - if (breakpointSkeletonconfig.height) { - skeletonHeight.value = breakpointSkeletonconfig.height; + if (breakpointSkeletonConfig.height) { + skeletonHeight.value = breakpointSkeletonConfig.height; } - if (breakpointSkeletonconfig.orientation) { - skeletonOrientation.value = breakpointSkeletonconfig.orientation; + if (breakpointSkeletonConfig.orientation) { + skeletonOrientation.value = breakpointSkeletonConfig.orientation; } - if (breakpointSkeletonconfig.thumbnailDisplay) { - skeletonThumbnailDisplay.value = breakpointSkeletonconfig.thumbnailDisplay; + if (breakpointSkeletonConfig.thumbnailDisplay) { + skeletonThumbnailDisplay.value = breakpointSkeletonConfig.thumbnailDisplay; } - if (breakpointSkeletonconfig.thumbnailAlign) { - skeletonThumbnailAlign.value = breakpointSkeletonconfig.thumbnailAlign; + if (breakpointSkeletonConfig.thumbnailAlign) { + skeletonThumbnailAlign.value = breakpointSkeletonConfig.thumbnailAlign; } } },