Skip to content

Commit

Permalink
Improve navigation api
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-plusplus committed Jun 27, 2024
1 parent 34fd00b commit 5bd9acd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/navigation/Redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { Destination } from "./types";
import { navigate } from "./navigate";

type RedirectProps = {
to: Destination;
to?: Destination;
merge?: boolean | string[];
push?: boolean;
fallback?: ReactElement;
};

const Redirect: FC<RedirectProps> = ({
to,
to = {},
merge,
push = false,
fallback = null,
Expand Down

0 comments on commit 5bd9acd

Please sign in to comment.