UNPKG
@okta-dfuhriman/okta-auth-js
Version:
latest (7.5.4)
7.5.4
7.5.3
7.5.2
7.5.1
7.5.0
7.3.22
7.3.21
7.3.20
7.3.19
7.3.18
7.3.17
7.3.16
7.3.15
7.3.14
7.3.13
7.3.12
7.3.11
7.3.10
7.3.9
7.3.8
7.3.7
7.3.6
7.3.5
7.3.4
7.3.3
7.3.2
7.3.1
7.3.0
The Okta Auth SDK
github.com/okta-dfuhriman/okta-auth-js
okta-dfuhriman/okta-auth-js
@okta-dfuhriman/okta-auth-js
/
samples
/
generated
/
react-embedded-auth-with-sdk
/
src
/
components
/
ErrorPage.jsx
10 lines
(7 loc)
•
229 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ useIdxTransaction }
from
'../contexts'
;
export
default
function
ErroPage
(
) {
const
{
transaction
: { error } } =
useIdxTransaction
();
return
(
<
div
>
{error.message || JSON.stringify(error, null, 4)}
</
div
>
); }