Skip to content

Commit

Permalink
Fix typescript strict mode warning (implicit type any) on reset passw…
Browse files Browse the repository at this point in the history
…ord page

Adds to / completes redwoodjs#5491
  • Loading branch information
Philzen committed Aug 10, 2022
1 parent ca92b96 commit 9370564
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import { navigate, routes } from '@redwoodjs/router'
import { MetaTags } from '@redwoodjs/web'
import { toast, Toaster } from '@redwoodjs/web/toast'

const ResetPasswordPage = ({ resetToken }) => {
const ResetPasswordPage = ({ resetToken }: { resetToken: string }) => {
const { isAuthenticated, reauthenticate, validateResetToken, resetPassword } =
useAuth()

const [enabled, setEnabled] = useState(true)

useEffect(() => {
Expand Down

0 comments on commit 9370564

Please sign in to comment.