Skip to content
Snippets Groups Projects
Commit 8c3cfb69 authored by Daniel Kovacs's avatar Daniel Kovacs
Browse files

Fix

parent 9886540c
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ class Landing extends Component{ ...@@ -42,7 +42,7 @@ class Landing extends Component{
</h1> </h1>
<p className="lead phrase"> get ready for the party</p> <p className="lead phrase"> get ready for the party</p>
{console.log(this.props)} {console.log(this.props)}
<button onClick={() => { window.location = '/auth?from='+encodeURIComponent(this.props.location.search.split("=")[1])}}> <button onClick={() => { window.location = '/login?from='+encodeURIComponent(this.props.location.search.split("=")[1])}}>
{/*<button onClick={() => { this.props.history.push('/auth')}}>*/} {/*<button onClick={() => { this.props.history.push('/auth')}}>*/}
Sign in with Spotify Sign in with Spotify
</button> </button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment