Implement redirect-path for password method

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-10 16:59:05 +04:00
parent 660a37edd0
commit 070000c46a
11 changed files with 86 additions and 41 deletions

View File

@@ -4,7 +4,7 @@ import type {
FC,
PropsWithChildren,
} from "react";
import { Link } from "react-router";
import { Link, type To } from "react-router";
import { tv, type VariantProps } from "tailwind-variants";
import { Slot } from "../Slot";
@@ -49,7 +49,7 @@ type Props = PropsWithChildren<
| "tertiary"
| "quaternary"
| "danger";
to?: string;
to?: To;
asChild?: boolean;
} & VariantProps<typeof button>
>