Skip to content

Commit

Permalink
fix(link):cahnge to next link in create user modal
Browse files Browse the repository at this point in the history
  • Loading branch information
emilielr committed Oct 10, 2024
1 parent b3335f8 commit 09ee3df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tavla/app/(admin)/components/Login/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from 'firebase/auth'
import { getClientApp } from 'utils/firebase'
import { login } from './actions'
import { Heading3, Link } from '@entur/typography'
import { Heading3, Link as EnturLink } from '@entur/typography'
import { TextField } from '@entur/form'
import { Button, ButtonGroup } from '@entur/button'
import Image from 'next/image'
Expand All @@ -24,6 +24,7 @@ import { FormError } from '../FormError'
import { TLoginPage } from './types'
import { SubmitButton } from 'components/Form/SubmitButton'
import { usePathname } from 'next/navigation'
import Link from 'next/link'

function Email() {
const submit = async (
Expand Down Expand Up @@ -88,9 +89,9 @@ function Email() {
<FormError {...getFormFeedbackForField('user', state)} />
<FormError {...getFormFeedbackForField('general', state)} />
<p>
<Link href={getPathWithParams('reset')}>
<EnturLink href={getPathWithParams('reset')}>
Glemt passord?
</Link>
</EnturLink>
</p>
<ButtonGroup className="flex flex-row gap-4">
<div className="w-1/2">
Expand Down

0 comments on commit 09ee3df

Please sign in to comment.