metamaps--metamaps/views/doorkeeper/authorizations/error.js

22 lines
431 B
JavaScript
Raw Normal View History

2018-03-05 18:18:51 +00:00
import React, { Component } from react
class MyComponent extends Component {
render = () => {
return (
<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>
</div>
<main role="main">
2018-03-04 02:25:42 +00:00
<div>{ @pre_auth.error_response.body[:error_description] }</div>
</main>
</div>
</div>
2018-03-05 18:18:51 +00:00
)
}
}
export default MyComponent