File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ const StoryPageTimeline = (props) => {
9494          onClick = { ( )  =>  { 
9595            if  ( userId  &&  ! voteClicked )  { 
9696              updateVote ( story ) 
97-               console . log ( 'even after being logged' ) 
9897            }  else  if  ( ! userId )  { 
99-               console . log ( 'Not loged In' ) 
10098              setShowLog ( ! showLog ) 
10199            } 
102100          } } 
@@ -115,16 +113,12 @@ const StoryPageTimeline = (props) => {
115113            < Modal 
116114              content = { 
117115                < > 
118-                   < div > 
119-                     < h1 > Oops! You're not signed In</ h1 > 
120-                     < div > 
121-                       < h2 > 
122-                         < Link  className = 'btn'  data-cy = 'btn-signin'  to = '/login' > 
123-                           Sign-In to UpVote :)
124-                         </ Link > 
125-                       </ h2 > 
126-                     </ div > 
127-                   </ div > 
116+                   < h1 > Oops! You're not signed In</ h1 > 
117+                   < h2 > 
118+                     < Link  className = 'btn'  data-cy = 'btn-signin'  to = '/login' > 
119+                       Sign-In to UpVote :)
120+                     </ Link > 
121+                   </ h2 > 
128122                </ > 
129123              } 
130124              handleClose = { ( )  =>  { 
Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ const Vote = (props) => {
7777        onClick = { ( )  =>  { 
7878          if  ( userId  &&  ! voteClicked )  { 
7979            updateVote ( story ) 
80-           }  else  if  ( ! userId )  { 
81-             console . log ( 'Not loged In' ) 
8280          } 
8381        } } 
8482      > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments