Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

git-overview-navigation.ts

5 lines187 Bytes

1export function resolveGitOverviewReviewNavigationAction(
2 presentation: "sheet" | "inspector",
3): "replace" | "navigate" {
4 return presentation === "sheet" ? "replace" : "navigate";
5}