fix(private-room): preserve payment return route
This commit is contained in:
@@ -5,13 +5,14 @@ import { useEffect, useRef, useState } from "react";
|
||||
import { usePaymentRouteFlow } from "@/app/_hooks/use-payment-route-flow";
|
||||
import { useAppNavigator } from "@/router/use-app-navigator";
|
||||
import type { PayChannel } from "@/data/dto/payment";
|
||||
import type { SubscriptionReturnTo } from "@/lib/navigation/subscription_exit";
|
||||
|
||||
import type { SubscriptionType } from "./subscription-screen.helpers";
|
||||
|
||||
export interface UseSubscriptionPaymentFlowInput {
|
||||
subscriptionType: SubscriptionType;
|
||||
shouldResumePendingOrder: boolean;
|
||||
returnTo: "chat" | null;
|
||||
returnTo: SubscriptionReturnTo;
|
||||
initialPayChannel: PayChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user