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 #5491
  • Loading branch information
Philzen committed Aug 10, 2022
1 parent c2b3249 commit c654c41
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 c654c41

Please sign in to comment.