File tree Expand file tree Collapse file tree 3 files changed +2
-18
lines changed
Expand file tree Collapse file tree 3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,6 @@ function LoginPage() {
2323 setLastUsed ( localStorage . getItem ( 'lastUsedLogin' ) ) ;
2424 } , [ ] ) ;
2525
26- const _handleLastUsed = ( ) => {
27- if ( lastUsed === 'github' ) {
28- handleGithubLogin ( ) ;
29- } else if ( lastUsed === 'google' ) {
30- handleGoogleLogin ( ) ;
31- } else if ( lastUsed === 'email' ) {
32- // Focus email input
33- document . getElementById ( 'email' ) ?. focus ( ) ;
34- }
35- } ;
36-
3726 const handleGoogleLogin = ( ) => {
3827 setIsLoading ( true ) ;
3928 signIn . social ( {
@@ -42,7 +31,6 @@ function LoginPage() {
4231 fetchOptions : {
4332 onSuccess : ( ) => {
4433 localStorage . setItem ( 'lastUsedLogin' , 'google' ) ;
45- toast . success ( 'Login successful!' ) ;
4634 } ,
4735 onError : ( ) => {
4836 setIsLoading ( false ) ;
@@ -60,7 +48,6 @@ function LoginPage() {
6048 fetchOptions : {
6149 onSuccess : ( ) => {
6250 localStorage . setItem ( 'lastUsedLogin' , 'github' ) ;
63- toast . success ( 'Login successful!' ) ;
6451 } ,
6552 onError : ( ) => {
6653 setIsLoading ( false ) ;
@@ -86,7 +73,6 @@ function LoginPage() {
8673 fetchOptions : {
8774 onSuccess : ( ) => {
8875 localStorage . setItem ( 'lastUsedLogin' , 'email' ) ;
89- toast . success ( 'Login successful!' ) ;
9076 } ,
9177 onError : ( error ) => {
9278 setIsLoading ( false ) ;
Original file line number Diff line number Diff line change @@ -363,9 +363,8 @@ export function EditFunnelDialog({
363363 return (
364364 < Sheet onOpenChange = { handleClose } open = { isOpen } >
365365 < SheetContent
366- className = "w-[60vw] overflow-y-auto"
366+ className = "w-full overflow-y-auto p-4 sm:w-[60vw] sm:max-w-[1200px] "
367367 side = "right"
368- style = { { width : '40vw' , padding : '1rem' , maxWidth : '1200px' } }
369368 >
370369 < SheetHeader className = "space-y-3 border-border/50 border-b pb-6" >
371370 < div className = "flex items-center gap-3" >
Original file line number Diff line number Diff line change @@ -276,9 +276,8 @@ export function EditGoalDialog({
276276 return (
277277 < Sheet onOpenChange = { handleClose } open = { isOpen } >
278278 < SheetContent
279- className = "w-[60vw] overflow-y-auto"
279+ className = "w-full overflow-y-auto p-4 sm:w-[60vw] sm:max-w-[1200px] "
280280 side = "right"
281- style = { { width : '40vw' , padding : '1rem' , maxWidth : '1200px' } }
282281 >
283282 < SheetHeader className = "space-y-3 border-border/50 border-b pb-6" >
284283 < div className = "flex items-center gap-3" >
You can’t perform that action at this time.
0 commit comments