Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react'
import { route } from 'navi'
import { withKeycloak } from '@react-keycloak/web'
const LoginPage = withKeycloak(({ keycloak }) => {
return (
<div>
<button type="button"> keycloak.login()}>
Login
</button>
</div>
)
})
export default route({
title: 'Login',
view:
})