@daeryun/dr_components 1.2.55 → 1.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -84,7 +84,7 @@ import { isTopPopupMobileHidden } from './common';
|
|
|
84
84
|
const TopBanner = ({ setBannerHeight }) => {
|
|
85
85
|
//이미지 패스
|
|
86
86
|
const ImagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
87
|
-
const { width } = useBrowser();
|
|
87
|
+
const { width } = useBrowser(true);
|
|
88
88
|
const bannerRef = useRef(null);
|
|
89
89
|
const router = useRouter();
|
|
90
90
|
const pathname = usePathname();
|
|
@@ -108,7 +108,7 @@ export interface IBannerTypes {
|
|
|
108
108
|
const TopBanner = ({ setBannerHeight }: { setBannerHeight?: SetterOrUpdater<number> }) => {
|
|
109
109
|
//이미지 패스
|
|
110
110
|
const ImagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
111
|
-
const { width } = useBrowser();
|
|
111
|
+
const { width } = useBrowser(true);
|
|
112
112
|
const bannerRef = useRef<HTMLDivElement>(null);
|
|
113
113
|
const router = useRouter();
|
|
114
114
|
const pathname = usePathname();
|