37 行
1.1 KiB
JavaScript
37 行
1.1 KiB
JavaScript
import React, { useEffect, useState } from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Button } from '@material-ui/core';
|
|
import { LoadingButton } from '@material-ui/lab';
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
const ResetPasswordComplete = () => {
|
|
|
|
const gotoLogin = () => {
|
|
window.location.href = "/login/c-account/";
|
|
}
|
|
|
|
return (
|
|
<div>
|
|
<p className="text-center font-weight-bold ft-20">登録完了</p>
|
|
<span className="mt-80-px ft-16 ft-md-13 l-alert__text--success">
|
|
パスワードの更新が完了しました。<br/>
|
|
ログイン画面に遷移して、新しいパスワードを ご利用ください。
|
|
</span>
|
|
<div className="mt-4">
|
|
<Button type="submit" fullWidth className="p-4 rounded-20 ft-16 ft-md-13 font-weight-bold text-black bg-color-2"
|
|
onClick={gotoLogin}>ログイン画面へ
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
|
|
if(document.getElementById('c-reset-password-complete')){
|
|
ReactDOM.render(
|
|
<ResetPasswordComplete />,
|
|
document.getElementById('c-reset-password-complete')
|
|
)
|
|
} |