Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ug.rp committed Apr 21, 2024
1 parent b36e6a6 commit 6de5df7
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/pages/auth/login.js
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
import {useNavigate, useSearchParams} from 'react-router-dom'
import ResetPasswordForm from 'components/auth-reset-password-form'

export default function PageLogin(props) {
const navigate = useNavigate()
const [searchParams] = useSearchParams()

const {dbSession: {database, session, signIn, signOut}} = props
const {auth} = database

return !session ? (
<>
<p>Migration of a v1 radio4000 channel, requires a v2 user account.</p>
<p>If you don't have one yet,<a href="https://radio4000.com">create it</a> then come back here</p>
</>
) : (
<>
<p>You are logged in.</p>
<button onClick={signOut}>Log out</button>
</>
)
}
export default function PageLogin() {}

0 comments on commit 6de5df7

Please sign in to comment.