2018-03-05 18:18:51 +00:00
|
|
|
import React, { Component } from react
|
|
|
|
|
|
|
|
class MyComponent extends Component {
|
|
|
|
render = () => {
|
|
|
|
return (
|
2016-03-25 00:16:27 +00:00
|
|
|
<div id="yield">
|
2018-03-05 17:33:16 +00:00
|
|
|
<div className="centerContent">
|
|
|
|
<div className="page-header">
|
2018-03-04 02:25:42 +00:00
|
|
|
<h2>{ t('doorkeeper.authorizations.error.title') }</h2>
|
2016-03-25 00:16:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<main role="main">
|
2018-03-04 02:25:42 +00:00
|
|
|
<div>{ @pre_auth.error_response.body[:error_description] }</div>
|
2016-03-25 00:16:27 +00:00
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-03-05 18:18:51 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyComponent
|