summaryrefslogtreecommitdiffstats
path: root/web/react/pages/verify.jsx
blob: 7077b40b887512c04e5a3a9323a8c2a1a3448130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.

var EmailVerify = require('../components/email_verify.jsx');

global.window.setupVerifyPage = function setupVerifyPage(isVerified, teamURL, userEmail) {
    React.render(
        <EmailVerify
            isVerified={isVerified}
            teamURL={teamURL}
            userEmail={userEmail}
        />,
        document.getElementById('verify')
    );
};