summaryrefslogtreecommitdiffstats
path: root/web/react/pages/verify.jsx
blob: f42913315e276ff9fc0453098b2e69f7e0e90bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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')
    );
};