@daeryun/dr_components 0.8.3 → 0.8.4

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.
@@ -15,8 +15,7 @@ const ChatWidget = ({ isOpen, isMobile, onClose, hashValue, setHashValue }) => {
15
15
  fixed
16
16
  w-full transform
17
17
  bg-white shadow-[0px_4px_10px_0px_#00000026]
18
- duration-300 ease-in-out
19
-
18
+ ${isMobile ? '' : 'duration-300 ease-in-out'}
20
19
  ${isHash && isMobile
21
20
  ? 'inset-0 h-[100dvh] w-screen rounded-none'
22
21
  : isMobile || isHash
@@ -27,8 +27,7 @@ const ChatWidget: React.FC<ChatWidgetProps> = ({ isOpen, isMobile, onClose, hash
27
27
  fixed
28
28
  w-full transform
29
29
  bg-white shadow-[0px_4px_10px_0px_#00000026]
30
- duration-300 ease-in-out
31
-
30
+ ${isMobile ? '' : 'duration-300 ease-in-out'}
32
31
  ${
33
32
  isHash && isMobile
34
33
  ? 'inset-0 h-[100dvh] w-screen rounded-none'
@@ -133,7 +133,7 @@ export const useSocketEventHandler = ({ setIsConnected, setIsLoading, setMessage
133
133
  }
134
134
  else {
135
135
  toast.error('인증에 실패했습니다.');
136
- window.location.href = '/';
136
+ // window.location.href = '/';
137
137
  return;
138
138
  }
139
139
  }
@@ -162,7 +162,7 @@ export const useSocketEventHandler = ({
162
162
  // 인증 완
163
163
  } else {
164
164
  toast.error('인증에 실패했습니다.');
165
- window.location.href = '/';
165
+ // window.location.href = '/';
166
166
  return;
167
167
  }
168
168
  }
@@ -27,7 +27,7 @@ const Daeryuntalk = ({ tel = '1800-7905' }) => {
27
27
  if (value) {
28
28
  setHashValue(value);
29
29
  // 해시 제거 (주소창에서 #... 부분 삭제)
30
- window.history.replaceState(null, '', window.location.pathname + window.location.search);
30
+ // window.history.replaceState(null, '', window.location.pathname + window.location.search);
31
31
  }
32
32
  }
33
33
  }
@@ -40,7 +40,7 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905' }) => {
40
40
  setHashValue(value);
41
41
 
42
42
  // 해시 제거 (주소창에서 #... 부분 삭제)
43
- window.history.replaceState(null, '', window.location.pathname + window.location.search);
43
+ // window.history.replaceState(null, '', window.location.pathname + window.location.search);
44
44
  }
45
45
  }
46
46
  }