Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Created November 14, 2016 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeaholicguy/f45f0780cd7dc57fa95e200c11cba84d to your computer and use it in GitHub Desktop.
Save codeaholicguy/f45f0780cd7dc57fa95e200c11cba84d to your computer and use it in GitHub Desktop.
import React, {Component} from 'react';
const TIME_OUT = 100
export default class Callback extends Component {
componentDidMount() {
setTimeout(opener.SoundCloud.connectCallback, TIME_OUT);
}
render() {
return (
<div>
<p>This page will close soon.</p>
</div>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment