Skip to content

Commit d1ba5c5

Browse files
authored
do not toggle on when embedded (#288)
1 parent a8c2071 commit d1ba5c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/src/components/common/Auth.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ const Auth = () => {
210210

211211

212212
useEffect(() => {
213-
setMinusxMode('open-sidepanel')
213+
if (!isEmbedded){
214+
setMinusxMode('open-sidepanel')
215+
}
214216
}, [])
215217
const handleVerifyOtp = () => {
216218
if (!otp) {

0 commit comments

Comments
 (0)